can't download private playlist even when I loggin #800

Closed
opened 2026-02-20 23:13:23 -05:00 by deekerman · 8 comments
Owner

Originally created by @friyal on GitHub (Jul 17, 2013).

error like this :Unable to download webpage: HTTP Error 404: Not Found;

Originally created by @friyal on GitHub (Jul 17, 2013). error like this :Unable to download webpage: HTTP Error 404: Not Found;
Author
Owner

@friyal commented on GitHub (Jul 18, 2013):

And the command is:
youtube-dl -u username -p password link
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-u', 'xxx@gmail.com', '-p', 'xxx', 'http://www.youtube.com/playlist?list=xxx']
[debug] youtube-dl version 2013.07.17.1
[debug] Python version 2.7.3 - Linux-3.2.5-gg1236-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {'auto': 'https://proxyconfig.corp.google.com/proxy.pac'}
[youtube:playlist] xxx: Downloading page #1
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.
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 121, in _request_webpage
return compat_urllib_request.urlopen(url_or_request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

and I tried to change the "playlist?list=" to "view_play_list?list=" or "view_play_list?p=", it still didn't work

@friyal commented on GitHub (Jul 18, 2013): And the command is: youtube-dl -u username -p password link [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-v', '-u', 'xxx@gmail.com', '-p', 'xxx', 'http://www.youtube.com/playlist?list=xxx'] [debug] youtube-dl version 2013.07.17.1 [debug] Python version 2.7.3 - Linux-3.2.5-gg1236-x86_64-with-Ubuntu-12.04-precise [debug] Proxy map: {'auto': 'https://proxyconfig.corp.google.com/proxy.pac'} [youtube:playlist] xxx: Downloading page #1 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. File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 121, in _request_webpage return compat_urllib_request.urlopen(url_or_request) File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 406, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 519, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 444, in error return self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) and I tried to change the "playlist?list=" to "view_play_list?list=" or "view_play_list?p=", it still didn't work
Author
Owner

@friyal commented on GitHub (Jul 18, 2013):

And if I turned the playlist to be public, it can find the playlist but tell me :
[youtube:playlist] playlist 'xxx': Collected 0 video ids (downloading 0 of them)

@friyal commented on GitHub (Jul 18, 2013): And if I turned the playlist to be public, it can find the playlist but tell me : [youtube:playlist] playlist 'xxx': Collected 0 video ids (downloading 0 of them)
Author
Owner

@phihag commented on GitHub (Jul 18, 2013):

Thanks, we'll have a look at it. Do you see the same problem with

youtube-dl http://www.youtube.com/playlist?list=PL63F0C78739B09958 -v

?

@phihag commented on GitHub (Jul 18, 2013): Thanks, we'll have a look at it. Do you see the same problem with ``` youtube-dl http://www.youtube.com/playlist?list=PL63F0C78739B09958 -v ``` ?
Author
Owner

@friyal commented on GitHub (Jul 18, 2013):

No, I download http://www.youtube.com/playlist?list=PL63F0C78739B09958 successfully.

@friyal commented on GitHub (Jul 18, 2013): No, I download http://www.youtube.com/playlist?list=PL63F0C78739B09958 successfully.
Author
Owner

@phihag commented on GitHub (Jul 18, 2013):

Mmm, can you make a public demo playlist that shows the problem? The initial failing request is the one to the youtube API, i.e. something like

https://gdata.youtube.com/feeds/api/playlists/PL63F0C78739B09958?max-results=50&start-index=0&v=2&alt=json&safeSearch=none
@phihag commented on GitHub (Jul 18, 2013): Mmm, can you make a public demo playlist that shows the problem? The initial failing request is the one to the youtube API, i.e. something like ``` https://gdata.youtube.com/feeds/api/playlists/PL63F0C78739B09958?max-results=50&start-index=0&v=2&alt=json&safeSearch=none ```
Author
Owner

@friyal commented on GitHub (Jul 18, 2013):

Oh, sorry, my fault, not yours. When I turned the playlist to be public, I didn't turn the videos to be public. So the problems stay here. But if you don't mind, may I ask if there is a way to retrieve private video's URL from a playlist when I'm the owner?

@friyal commented on GitHub (Jul 18, 2013): Oh, sorry, my fault, not yours. When I turned the playlist to be public, I didn't turn the videos to be public. So the problems stay here. But if you don't mind, may I ask if there is a way to retrieve private video's URL from a playlist when I'm the owner?
Author
Owner

@jaimeMF commented on GitHub (Sep 9, 2013):

I think that the extraction of private videos from privates videos is fixed (#1374), could you try with the latest version (higher than 2013.09.05), please?

@jaimeMF commented on GitHub (Sep 9, 2013): I think that the extraction of private videos from privates videos is fixed (#1374), could you try with the latest version (higher than 2013.09.05), please?
Author
Owner

@phihag commented on GitHub (Nov 22, 2013):

With the switch to a different playlist extraction method, this should now all work. If it doesn't, please comment or open a new issue. Thanks!

@phihag commented on GitHub (Nov 22, 2013): With the switch to a different playlist extraction method, this should now all work. If it doesn't, please comment or open a new issue. Thanks!
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#800
No description provided.