Skip to content
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

Youtube URLs with feature=player_embedded are not detected #2654

Closed
hyperknot opened this issue Mar 30, 2014 · 2 comments
Closed

Youtube URLs with feature=player_embedded are not detected #2654

hyperknot opened this issue Mar 30, 2014 · 2 comments

Comments

@hyperknot
Copy link

@hyperknot hyperknot commented Mar 30, 2014

It seems that youtube-dl doesn't detect youtube ids from urls with feature=player_embedded:

https://www.youtube.com/watch?feature=player_embedded&v=m0dwNon116k

I am very surprised, given youtube-dl's super robust URL decoding abilities.

This URL scheme is very common for youtube, since this is what a user gets when right click / "Copy video URL" on any embedded video.

@hyperknot
Copy link
Author

@hyperknot hyperknot commented Mar 30, 2014

Sorry, I realised it from the error message, it's all about quotes! Is there no way to detect the unescaped ? character from shell?

@phihag
Copy link
Contributor

@phihag phihag commented Mar 30, 2014

The problem is not the unescaped ? (that's almost always harmless), but the unescaped &. Your shell will give youtube-dl just the part until the ampersand (you can run youtube-dl with the -v switch to see what it gets from the shell). There is no way to get the rest of the URL. Simply put the URL in quotes (preferably single, double on Windows), or replace & with \&.

@phihag phihag closed this Mar 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.