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

Yturl doesn't work. #39

Closed
kcubeterm opened this issue Jan 21, 2020 · 3 comments
Closed

Yturl doesn't work. #39

kcubeterm opened this issue Jan 21, 2020 · 3 comments

Comments

@kcubeterm
Copy link

Following are the outputs.
$ yturl -q low https://youtu.be/IJAB576kwMY Traceback (most recent call last): File "/data/data/com.termux/files/usr/bin/yturl", line 11, in <module> load_entry_point('yturl==2.0.2', 'console_scripts', 'yturl')() File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/yturl.py", line 152, in main itag_to_url_map = itags_for_video(args.video_id) File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/yturl.py", line 77, in itags_for_video streams = api_response["url_encoded_fmt_stream_map"].split(",") KeyError: 'url_encoded_fmt_stream_map'

@cdown
Copy link
Owner

cdown commented Jan 21, 2020

YouTube appears to be backfilling more and more videos over to DASH and other segmented formats, I'm afraid. Until someone does the work to define how this should look, yturl won't support these.

I made this error more clear in 61c0a32.

@cdown cdown closed this as completed Jan 21, 2020
@kcubeterm
Copy link
Author

Thanks

@kcubeterm
Copy link
Author

As alternative, can be use youtube-dl -g flags for url,

youtube-dl -f best -g https://youtube.com/exampleurl

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

2 participants