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 webpage: HTTP Error 404: Not Found #2560

Closed
johanndiedrick opened this issue Mar 13, 2014 · 10 comments
Closed

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

johanndiedrick opened this issue Mar 13, 2014 · 10 comments

Comments

@johanndiedrick
Copy link

@johanndiedrick johanndiedrick commented 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)

@ace03uec
Copy link

@ace03uec ace03uec commented Mar 15, 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

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 15, 2014

@jdiedrick Where did you get the url from?

@FernandoMiguel
Copy link

@FernandoMiguel FernandoMiguel commented Mar 16, 2014

that link comes from RSS

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented 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
Copy link
Collaborator

@jaimeMF jaimeMF commented 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?

@FernandoMiguel
Copy link

@FernandoMiguel FernandoMiguel commented 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

@ghost
Copy link

@ghost ghost commented Mar 16, 2014

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

@tivervac
Copy link

@tivervac tivervac commented Sep 7, 2017

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

@mpenkov
Copy link

@mpenkov mpenkov commented Aug 2, 2018

👍 Let's close this.

@remitamine remitamine closed this Aug 2, 2018
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
7 participants
You can’t perform that action at this time.