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.
ERROR: Unable to download video webpage: HTTP Error 404: Not Found #1286
Comments
missing video id |
|
Hm. I did call it with an ID. However the script must cut it off. But why? |
|
Most likely, you did not quote the URL correctly. If you're still seeing two different behaviors, can you post the exact command lines of each? |
|
Both times I wrote: ./youtube-dl https://www.youtube.com/watch?feature=player_embedded&v=CkxdVMdzkrk#t=3135 I got it in a Automator-Script so that the complete link is passed directly to the script. First time the URL got lost |
|
That line is written a little strangely and does almost certainly not do what you want. It gets broken down like this:
|
|
That is very interesting to read! I wasn't aware of this. So what do you propose how I should call the script and pass a link? |
|
By the way, that breakdown has nothing to do with youtube-dl (it's done before youtube-dl is even started), it's a shell feature. You can simply quote the URL. In a shell script, put it in (double) quotes. Can you post the script you're using? When you're interactively calling youtube-dl (i.e. typing in commands), simply put the URL in single or double quotes. Alternatively, prepend each ampersand with a backslash. |
|
Just quote the url On Wed, Aug 21, 2013 at 11:14 AM, Houseghost notifications@github.comwrote:
|
[1] 535
**-MacBook-Pro:bin **$ [debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?']
[debug] youtube-dl version 2013.06.34.4
[debug] Python version 2.7.2 - Darwin-12.4.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] Setting language
[youtube] watch: Downloading video webpage
ERROR: Unable to download video webpage: HTTP Error 404: Not Found; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/extractor/youtube.py", line 416, in _real_extract
video_webpage_bytes = compat_urllib_request.urlopen(request).read()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 513, in http_response
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 438, in error
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 521, in http_error_default
HTTPError: HTTP Error 404: Not Found
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
ie_result = ie.extract(url)
File "./youtube-dl/youtube_dl/extractor/common.py", line 92, in extract
return self._real_extract(url)
File "./youtube-dl/youtube_dl/extractor/youtube.py", line 418, in _real_extract
raise ExtractorError(u'Unable to download video webpage: %s' % compat_str(err))
ExtractorError: Unable to download video webpage: HTTP Error 404: Not Found; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.
[1]+ Exit 1 ./youtube-dl --verbose https://www.youtube.com/watch?