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

unsanitized youtube url throws error #700

Closed
5shekel opened this issue Feb 22, 2013 · 3 comments
Closed

unsanitized youtube url throws error #700

5shekel opened this issue Feb 22, 2013 · 3 comments

Comments

@5shekel
Copy link

@5shekel 5shekel commented Feb 22, 2013

$youtube-dl https://www.youtube.com/watch?feature=player_embedded&v=qJQ7KK-tsIc 
[youtube] Setting language
[youtube] watch: Downloading video webpage
ERROR: unable to download video webpage: HTTP Error 404: Not Found
'v' is not recognized as an internal or external command,
operable program or batch file.

removing the "feature=player_embedded&" d/l just fine.

@glisignoli
Copy link
Contributor

@glisignoli glisignoli commented Feb 22, 2013

You need to Wrap the url with " ", due to bash's interpretation of some characters. This is standard practice when passing any URL as a parameter in bash.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 22, 2013

Yes, & is a shell meta-character and therefore interpreted before youtube-dl can do anything about it. Call

youtube-dl "https://www.youtube.com/watch?feature=player_embedded&v=qJQ7KK-tsIc"
@phihag phihag closed this Feb 22, 2013
@5shekel
Copy link
Author

@5shekel 5shekel commented Feb 22, 2013

cool thanks

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
3 participants
You can’t perform that action at this time.