-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: expected str, bytes or os.PathLike object, not NoneType #7
Comments
You should use -p option to specific the mpd file path, or use --url to specific mpd url. or just use https://github.com/xhlove/XstreamDL-CLI |
mpd_content_parser.py -url https://lbs-usp-dash-vod.cmore.se/vod/e56b0/oonxxb22rfd(10023265_ISMUSP).ism/oonxxb22rfd(10023265_ISMUSP).mpd The program downloads mpd, saves it with the name "response.mpd" and nothing else. mpd_content_parser.py -p g:\111\mpd-content-parser\response.mpd Nothing happens. The previous version worked successfully, starting without parameters, then I specified the path to the mpd file when the program was requested. |
bug fixed, use the latest version |
Thanks, now the text files are being generated successfully. g:\111\mpd-content-parser>mpd_content_parser.py -p g:\111\mpd-content-parser\res g:\111\mpd-content-parser>mpd_content_parser.py -url https://lbs-usp-dash-vod.cm |
Hello.
I am getting an error on startup.
g:\111\mpd-content-parser>mpd_content_parser.py
Traceback (most recent call last):
File "G:\111\mpd-content-parser\mpd_content_parser.py", line 292, in
main()
File "G:\111\mpd-content-parser\mpd_content_parser.py", line 273, in main
xmlpath = Path(args.path).resolve()
File "C:\Program Files\Python37\lib\pathlib.py", line 1003, in new
self = cls._from_parts(args, init=False)
File "C:\Program Files\Python37\lib\pathlib.py", line 658, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Program Files\Python37\lib\pathlib.py", line 642, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered: