Unable to download webpage: HTTP Error 404: Not Found #2003

Closed
opened 2026-02-21 00:11:42 -05:00 by deekerman · 10 comments
Owner

Originally created by @johanndiedrick on GitHub (Mar 13, 2014).

youtube-dl --verbose http://gdata.youtube.com/feeds/api/playlists/PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW?&alt=json

geofront:data johanndiedrick$ youtube-dl --verbose http://gdata.youtube.com/feeds/api/playlists/PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW?&alt=json
[1] 3594
geofront:data johanndiedrick$ [debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://gdata.youtube.com/feeds/api/playlists/PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW?']
[debug] Encodings: locale 'UTF-8', fs 'utf-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.12
[debug] Python version 2.7.2 - Darwin-12.5.0-x86_64-i386-64bit
[debug] Proxy map: {}
[download] Downloading playlist: feeds
[youtube:user] feeds: Downloading video ids from 1 to 51
ERROR: Unable to download 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. Make sure you are using the latest version; type youtube-dl -U to update.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 192, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1173, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 513, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 438, in error
return self._call_chain(_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 521, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Originally created by @johanndiedrick on GitHub (Mar 13, 2014). youtube-dl --verbose http://gdata.youtube.com/feeds/api/playlists/PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW?&alt=json geofront:data johanndiedrick$ youtube-dl --verbose http://gdata.youtube.com/feeds/api/playlists/PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW?&alt=json [1] 3594 geofront:data johanndiedrick$ [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'http://gdata.youtube.com/feeds/api/playlists/PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW?'] [debug] Encodings: locale 'UTF-8', fs 'utf-8', out 'UTF-8', pref: 'UTF-8' [debug] youtube-dl version 2014.03.12 [debug] Python version 2.7.2 - Darwin-12.5.0-x86_64-i386-64bit [debug] Proxy map: {} [download] Downloading playlist: feeds [youtube:user] feeds: Downloading video ids from 1 to 51 ERROR: Unable to download 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. Make sure you are using the latest version; type youtube-dl -U to update. File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 192, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1173, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open response = meth(req, response) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 513, in http_response 'http', request, response, code, msg, hdrs) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 438, in error return self._call_chain(_args) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain result = func(_args) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 521, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
Author
Owner

@ace03uec commented on GitHub (Mar 14, 2014):

This link you gave does not have the video. If the link http://gdata.youtube.com/feeds/api/playlists/PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW?&alt=json

is changed to http://www.youtube.com/playlist?list=PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW

the download works just fine.

Projects/youtube-dl/youtube-dl --verbose http://www.youtube.com/playlist?list=PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/playlist?list=PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.12
[debug] Python version 2.7.5+ - Linux-3.11.0-17-generic-i686-with-Ubuntu-13.10-saucy
[debug] Proxy map: {}
[youtube:playlist] PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW: Downloading webpage
[download] Downloading playlist: fanservicevideocubes
[youtube:playlist] playlist fanservicevideocubes: Collected 9 video ids (downloading 9 of them)
[download] Downloading video #1 of 9
[youtube] Setting language
[youtube] _EbnC0O3_oU: Downloading webpage
[youtube] _EbnC0O3_oU: Downloading video info webpage
[youtube] _EbnC0O3_oU: Extracting video information
[download] Destination: Tsukurimashou-_EbnC0O3_oU.mp4
[download] 4.6% of 2.67MiB at 164.57KiB/s ETA 00:15

@ace03uec commented on GitHub (Mar 14, 2014): This link you gave does not have the video. If the link http://gdata.youtube.com/feeds/api/playlists/PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW?&alt=json is changed to http://www.youtube.com/playlist?list=PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW the download works just fine. Projects/youtube-dl/youtube-dl --verbose http://www.youtube.com/playlist?list=PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'http://www.youtube.com/playlist?list=PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW'] [debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8' [debug] youtube-dl version 2014.03.12 [debug] Python version 2.7.5+ - Linux-3.11.0-17-generic-i686-with-Ubuntu-13.10-saucy [debug] Proxy map: {} [youtube:playlist] PL3ngyh53O02CnHBb69HMZNwdvWo8w3MKW: Downloading webpage [download] Downloading playlist: fanservicevideocubes [youtube:playlist] playlist fanservicevideocubes: Collected 9 video ids (downloading 9 of them) [download] Downloading video #1 of 9 [youtube] Setting language [youtube] _EbnC0O3_oU: Downloading webpage [youtube] _EbnC0O3_oU: Downloading video info webpage [youtube] _EbnC0O3_oU: Extracting video information [download] Destination: Tsukurimashou-_EbnC0O3_oU.mp4 [download] 4.6% of 2.67MiB at 164.57KiB/s ETA 00:15
Author
Owner

@jaimeMF commented on GitHub (Mar 15, 2014):

@jdiedrick Where did you get the url from?

@jaimeMF commented on GitHub (Mar 15, 2014): @jdiedrick Where did you get the url from?
Author
Owner

@FernandoMiguel commented on GitHub (Mar 16, 2014):

that link comes from RSS

@FernandoMiguel commented on GitHub (Mar 16, 2014): that link comes from RSS
Author
Owner

@jaimeMF commented on GitHub (Mar 16, 2014):

Which RSS page?, we could add support for it, but I don't think it's too common to get the urls in that format, because they don't contain the real playlist page.

@jaimeMF commented on GitHub (Mar 16, 2014): Which RSS page?, we could add support for it, but I don't think it's too common to get the urls in that format, because they don't contain the real playlist page.
Author
Owner

@FernandoMiguel commented on GitHub (Mar 16, 2014):

parsing that json it seems to be https://www.youtube.com/v/FjNVP1yRVXc?version=3&f=playlists&app=youtube_gdata

@FernandoMiguel commented on GitHub (Mar 16, 2014): parsing that json it seems to be https://www.youtube.com/v/FjNVP1yRVXc?version=3&f=playlists&app=youtube_gdata
Author
Owner

@jaimeMF commented on GitHub (Mar 16, 2014):

I know it contains videos (the playlist id is in the url), my question is where do you get the https://gdata.youtube.com/* url from?

@jaimeMF commented on GitHub (Mar 16, 2014): I know it contains videos (the playlist id is in the url), my question is where do you get the `https://gdata.youtube.com/*` url from?
Author
Owner

@FernandoMiguel commented on GitHub (Mar 16, 2014):

I'm not the OP... I just saw this ticket and tried to help :)
let's wait for the OP to reply

sorry if I induced you in error

@FernandoMiguel commented on GitHub (Mar 16, 2014): I'm not the OP... I just saw this ticket and tried to help :) let's wait for the OP to reply sorry if I induced you in error
Author
Owner

@ghost commented on GitHub (Mar 16, 2014):

https://gist.github.com/JeroenMathon/9590447 I made a quick python script for rss feeds,For the time being

@ghost commented on GitHub (Mar 16, 2014): https://gist.github.com/JeroenMathon/9590447 I made a quick python script for rss feeds,For the time being
Author
Owner

@tivervac commented on GitHub (Sep 7, 2017):

As the original link is no longer available I suppose this can be closed?

@tivervac commented on GitHub (Sep 7, 2017): As the original link is no longer available I suppose this can be closed?
Author
Owner

@mpenkov commented on GitHub (Aug 2, 2018):

👍 Let's close this.

@mpenkov commented on GitHub (Aug 2, 2018): :+1: Let's close this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#2003
No description provided.