-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
I still get invalid URL for youtu.be links #142
Comments
youtu.be links are just
, you can plug the resulting URL into youtube-dl and it works. We should handle all 302 redirects in the generic IE. |
I have tried plugging the resulting URL into youtube-dl it did not work: [frida@localhost youtube]$ curl -Is http://youtu.be/Rs6RefV1td4 | sed -n 's#Location: ##p' [frida@localhost youtube]$ python youtube-dl http://www.youtube.com/watch?v=Rs6RefV1td4&feature=youtu.be However we used to download youtu.be links all the time, this is the first time this happens, How did it work before? the generic IE also results in the invalid URL, Could you please advise me on how to solve this issue? Thank you |
I am sorry, I have tried to do the above again and it worked, sorry for the inconvenience. But I am still wondering how it worked before the Aug 4th. Thanks a lot. |
@fridakiriakos youtu.be links worked before because we did not treat them as generic redirects, but extracted the youtube ID. The above patch should fix it; alternatively, you can also use my fork of youtube-dl. |
thank you so much, both version work well :) appreciate all your help. |
Hello Everyone
I have downloaded the latest version of youtube-dl and I still get the same error for youtu.be links.
Here is the output I always get when downloading those links:
[frida@localhost youtube]$ python youtube-dl http://youtu.be/Rs6RefV1td4
WARNING: Falling back on generic information extractor.
[generic] Rs6RefV1td4: Downloading webpage
[generic] Rs6RefV1td4: Extracting information
ERROR: Invalid URL: http://youtu.be/Rs6RefV1td4
Thanks a lot.
Frida
The text was updated successfully, but these errors were encountered: