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

Unable to Download video #935

Closed
Teched94 opened this issue Jun 26, 2013 · 2 comments
Closed

Unable to Download video #935

Teched94 opened this issue Jun 26, 2013 · 2 comments

Comments

@Teched94
Copy link

@Teched94 Teched94 commented Jun 26, 2013

/Videos$ youtube-dl https://www.youtube.com/watch?feature=endscreen&NR=1&v=XLzBMGXfK4c
[1] 4328
[2] 4329
nk@firehawk:
/Videos$ [youtube] Setting language
[youtube] watch: Downloading video webpage
ERROR: Unable to download video webpage: HTTP Error 404: Not Found; please report this issue on http://yt-dl.org/bug

@phihag
Copy link
Contributor

@phihag phihag commented Jun 26, 2013

In a shell, you need to escape the ampersand. Your shell parses your command as

youtube-dl https://www.youtube.com/watch?feature=endscreen &
NR=1 &                 # Set a variable and do nothing
v=XLzBMGXfK4c & # Set a variable and do nothing

Either escape the ampersands with backslashes or put the whole URL in quotes:

$ youtube-dl 'https://www.youtube.com/watch?feature=endscreen&NR=1&v=XLzBMGXfK4c'
[youtube] Setting language
[youtube] XLzBMGXfK4c: Downloading video webpage
[youtube] XLzBMGXfK4c: Downloading video info webpage
[youtube] XLzBMGXfK4c: Extracting video information
[download] Destination: Michael Jordan's Basketball Hall of Fame Enshrinement Speech-XLzBMGXfK4c.mp4

Note that this is a feature of your shell, and completely unrelated to youtube-dl. We just get the URL https://www.youtube.com/watch?feature=endscreen.

@phihag phihag closed this Jun 26, 2013
@Teched94
Copy link
Author

@Teched94 Teched94 commented Jun 26, 2013

Thanks that work

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.