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

Can't download video which can watch directly in browser. #126

Closed
googollee opened this issue Jun 28, 2011 · 4 comments
Closed

Can't download video which can watch directly in browser. #126

googollee opened this issue Jun 28, 2011 · 4 comments

Comments

@googollee
Copy link

I watch the Google I/O video and want to download "Writing Web Apps in Go" . But youtube-dl doesn't work:

$ youtube-dl --all-formats  "http://www.youtube.com/watch?v=-i0hat7pdpk" 
[youtube] Setting language
[youtube] -i0hat7pdpk: Downloading video webpage
[youtube] -i0hat7pdpk: Downloading video info webpage
[youtube] -i0hat7pdpk: Extracting video information
ERROR: unable to download video (format may not be available)

I sure the url can access from the browser and play the video. But seems something wrong when youtube-dl handles it.

Is there any way to fix it and download?

Thanks.

@phihag
Copy link
Contributor

phihag commented Jun 28, 2011

Cannot reproduce this, neither from Germany nor USA. By the way, there's no need to set --all-formats, youtube-dl picks the best format automatically.

It might have been a temporary fluke of youtube. Can you reproduce it now? From which country/AS?

@googollee
Copy link
Author

It still can't work. I run it from linode VPS in Dallas, TX, USA.

@googollee googollee reopened this Jun 29, 2011
@phihag
Copy link
Contributor

phihag commented Jun 29, 2011

Sorry, should've seen that earlier: You're running an old version of youtube-dl (the message format may not be available does not exist anymore). Since youtube often changes the way downloads work, you'll need the newest version. You can check with youtube-dl -v. It worked for me with 2011.02.25b (package in Debian unstable) and 2011.03.29 (current trunk).

If updating doesn't solve the problem, a pcap dump or the output of strace -s 2000 youtube-dl "http://www.youtube.com/watch?v=-i0hat7pdpk" (warning: long) would be extremely helpful.
Also, feel free to contact me in private via email, jabber ([email protected]), github or twitter (@phihag); and I can give you a private URL for that specific video.

@googollee
Copy link
Author

Thanks for your help. I download the latest version in github and it's OK now. ;)

BTW, I followed you in twitter.

joedborg referenced this issue in joedborg/youtube-dl Nov 17, 2020
[pull] master from rg3:master
tsukumijima pushed a commit to tsukumijima/youtube-dl that referenced this issue Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants