Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[youtube:subscriptions] HTTP Error 400: Bad Request #2975
Comments
|
Same problem here.
|
|
Same here. Was working perfectly week ago I think. Any workarounds? My log: debug] System config: [] |
|
Problem persists: |
|
I got the same on the last few versions up to youtube-dl --version 2014.06.04 debug] System config: ['--ignore-errors', '--output', '/yt/yt/%(uploader)s--%(upload_date)s--%(title)s--%(id)s.%(ext)s', '--download-archive=/yt/yt.db', '--continue', '--max-quality', '22'] |
|
As mentioned by RamyTalal the feed for youtube subscriptions doesn't work with paging=0 anymore.
in youtube_dl/extractor/youtube.py, Class YoutubeFeedsInfoExtractor(YoutubeBaseInfoExtractor), _real_extract(self, url) after line 1766 ( This won't download all the subscriptions but it will at least download most of them which is way better than none. |
|
That "fixed" it for me, I was playing around with the URLs in my command based on what RamyTalal said not the source. |
|
This 'fix' no longer works for me. |
|
YouTube now uses a cookie ( |
|
Thanks for the report, it should work in the next version. |
|
I believe this bug to be fixed in youtube-dl 2014.09.01. If it still occurs, please open a new issue (or comment in this one if you are absolutely certain it's the same issue) with the output of youtube-dl when called with the |
|
The same problem here. It, firstly, occured about two weeks ago with a specific youtube channel, but upgrading to the latest version and using the url in the first comment (by RamyTalal) solved it for the first time, and since, youtube-dl works perfectly without that url. but today another channel refused to get downloaded, raisng the same error, with that url and without it. here is the output: [debug] System config: [] $ youtube-dl 'https://www.youtube.com/channel/UCDHcIkFMCIXKmaD-8LtliSw' --verbose [debug] System config: [] |
Hi, since today (maybe yesterday) I got this error (the command was working well before) :
$ youtube-dl -o '/home/desktop/Vidéos/Youtube/%(uploader)s - %(title)s.%(ext)s' --download-archive /home/desktop/.mydownloads https://www.youtube.com/feed/subscriptions -u xxxxxxx@gmail.com -p xxxxxxxxx --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-o', '/home/desktop/Vid\xc3\xa9os/Youtube/%(uploader)s - %(title)s.%(ext)s', '--download-archive', '/home/desktop/.mydownloads', 'https://www.youtube.com/feed/subscriptions', '-u', '', '-p', '', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.19
[debug] Python version 2.7.3 - Linux-3.10.23-xxxx-std-ipv6-64-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube:subscriptions] Downloading login page
[youtube:subscriptions] Logging in
[youtube:subscriptions] subscriptions feed: Downloading page 1
ERROR: Unable to download JSON metadata: HTTP Error 400: Bad Request; 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/bin/youtube-dl/youtube_dl/extractor/common.py", line 196, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1214, in urlopen
return self._opener.open(req, timeout=self._socket_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)