Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Can't find a video. #92
Comments
|
Confirmed - I've seen 404 errors with some of the videos I tried to download as well. |
|
I think this can be related to the availability of given video in specific countries. The video that you provided the link to does download for me without problems. However, some videos are not available for me apparently because I'm in Poland (some message like "This video contains content copyrighted by Sony Entertainment") and these are the videos that I get 404 error in youtube-dl. |
|
Just a thought - implementing something like https://github.com/rg3/youtube-dl/issues#issue/7 could provide a fallback option if a video cannot be downloaded directly from Youtube. |
|
I can view that video in a web browser and download it with youtube-dl. Like ppawel said, 404 errors usually refer to YouTube errors about the video being unavailable for you. They can't be watched with a web browser either. In fact, those pages YouTube serves with the error messages are really 404s in HTTP. See for example: http://www.youtube.com/watch?v=malformed And the result of attempting to access that page with curl: $ curl -D headers.txt -o malformed.html 'http://www.youtube.com/watch?v=malformed&hl=en'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 20936 0 20936 0 0 57837 0 --:--:-- --:--:-- --:--:-- 103k
$ cat headers.txt
HTTP/1.1 404 Not Found
Date: Sat, 12 Mar 2011 19:24:32 GMT
Server: wiseguy/0.6.7
X-Content-Type-Options: nosniff
Set-Cookie: use_hitbox=3d11d5cb2b3e40e368f83f82e88170a4dAEAAAAx; path=/; domain=.youtube.com
Set-Cookie: VISITOR_INFO1_LIVE=WnItksx5zLQ; path=/; domain=.youtube.com; expires=Mon, 07-Nov-2011 19:24:32 GMT
Set-Cookie: PREF=f1=50000000; path=/; domain=.youtube.com; expires=Tue, 09-Mar-2021 19:24:32 GMT
Set-Cookie: GEO=d82d5be5d6ec570afbc10eccc17b3ebccwsAAAAzRVNVmM3HTXvIcA==; path=/; domain=.youtube.com
Expires: Tue, 27 Apr 1971 19:44:06 EST
Cache-Control: no-cache
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
$ grep 'malformed video ID' malformed.html
|
|
Can i use the http_proxy ? Will that kind of fix the problem? |
|
Yes, you can use http_proxy. This is explained in the program documentation. |
|
Can you give me a example for a proxy because i can't find any working. |
|
I don't know any public HTTP proxy, sorry. |
|
From where can I get private proxy in the USA then? |
Hello.
When i try to download this video http://www.youtube.com/watch?v=1yw1Tgj9-VU the script tell me that it can't find the video. (ERROR: unable to download video webpage: HTTP Error 404: Not Found) Why is that?
Thanks.