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

ytsubscriptions broken (?) #999

Closed
LollenJumplan opened this issue Jul 7, 2013 · 2 comments
Closed

ytsubscriptions broken (?) #999

LollenJumplan opened this issue Jul 7, 2013 · 2 comments

Comments

@LollenJumplan
Copy link

@LollenJumplan LollenJumplan commented Jul 7, 2013

Am I just using the parameter ytsubscriptions wrong or is this an actual bug ?
While using it in the syntax
youtube-dl -u user -p password -t ytsubscriptions (and --verbose for debugging reasons)
it outputs

"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-u', 'user', '-p', 'password', '-t', 'ytsubscriptions', '--verbose']
[debug] youtube-dl version 2013.07.05
[debug] Python version 2.7.5+ - Linux-3.9-1-686-pae-i686-with-debian-jessie-sid
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Logging in
[youtube] Confirming age
[youtube] ytsubscriptions: 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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 418, in _real_extract
video_webpage_bytes = compat_urllib_request.urlopen(request).read()
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 442, in error
result = self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 92, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 420, 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.
"

I also tried adding the actual subscrition-feed-link after ytsubscriptions and -netrc option, neither worked.
Normal downloading (direct link) works just fine, only ytsubscriptions is a problem for me so far.
Could it be an old version ? I will try to clone the github version too, I am using the version 2013.07.05 at the moment.

@LollenJumplan
Copy link
Author

@LollenJumplan LollenJumplan commented Jul 7, 2013

Oh dear !
I just found out that it can't even be in my version yet, it was added only 3 hours ago !
Very sorry !
I misread the commit date and thought it was already in the version I use at the moment .
I also saw that there was a new release a few minutes ago, so i should probably check it out.

@phihag
Copy link
Contributor

@phihag phihag commented Jul 7, 2013

As you've found out yourself, you need the newest version of youtube-dl - at least 2013.07.07.01 . Also, I've changed the keyword to :ytsubs or :ytsubscriptions - the colon makes it self-evident that this is a shortcut and not a regular YouTube ID.

You can update with sudo youtube-dl -U, then youtube-dl --netrc :ytsubs or youtube-dl -u user -p password :ytsubscriptions should work.

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