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

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

Closed
friyal opened this issue Jul 18, 2013 · 8 comments
Closed

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

friyal opened this issue Jul 18, 2013 · 8 comments

Comments

@friyal
Copy link

@friyal friyal commented Jul 18, 2013

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

@friyal
Copy link
Author

@friyal friyal commented 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
Copy link
Author

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

@phihag
Copy link
Contributor

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

?

@friyal
Copy link
Author

@friyal friyal commented Jul 18, 2013

@phihag
Copy link
Contributor

@phihag phihag commented 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
@friyal
Copy link
Author

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

This was referenced Jul 23, 2013
@jaimeMF
Copy link
Collaborator

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

@phihag
Copy link
Contributor

@phihag phihag commented 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 phihag closed this Nov 22, 2013
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
3 participants
You can’t perform that action at this time.