Skip to content
This repository has been archived by the owner on Oct 25, 2020. It is now read-only.

Cant get videos and a wrong error #42

Open
zivoy opened this issue May 8, 2020 · 0 comments
Open

Cant get videos and a wrong error #42

zivoy opened this issue May 8, 2020 · 0 comments

Comments

@zivoy
Copy link

zivoy commented May 8, 2020

this relates to #39 and #40
when I tried running $ yturl https://www.youtube.com/watch?v=iiChxN0T2kA

Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/pi/.local/lib/python3.7/site-packages/yturl.py", line 167, in <module>
    main()
  File "/home/pi/.local/lib/python3.7/site-packages/yturl.py", line 147, in main
    itag_to_url_map = itags_for_video(args.video_id)
  File "/home/pi/.local/lib/python3.7/site-packages/yturl.py", line 80, in itags_for_video
    streams = api_response['url_encoded_fmt_stream_map'].split(',')
KeyError: 'url_encoded_fmt_stream_map'

thats the same as the 2 mentioned issues but when I installed the latest dev branch I got

Traceback (most recent call last):
  File "/home/pi/.local/bin/yturl", line 10, in <module>
    sys.exit(main())
  File "/home/pi/.local/lib/python3.7/site-packages/yturl.py", line 152, in main
    itag_to_url_map = itags_for_video(args.video_id)
  File "/home/pi/.local/lib/python3.7/site-packages/yturl.py", line 81, in itags_for_video
    ) from None
NotImplementedError: Live and streaming videos are unsupported.

even though the video is clearly not a stream

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant