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

Error when parsing user URL; Error 400 - Bad Request #3135

Closed
manumenzella opened this issue Jun 22, 2014 · 3 comments
Closed

Error when parsing user URL; Error 400 - Bad Request #3135

manumenzella opened this issue Jun 22, 2014 · 3 comments

Comments

@manumenzella
Copy link

@manumenzella manumenzella commented Jun 22, 2014

iMac:yt user$ youtube-dl --verbose https://www.youtube.com/channel/UCANLZYMidaCbLQFWXBC95Jg
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/channel/UCANLZYMidaCbLQFWXBC95Jg']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.06.19
[debug] Python version 2.7.5 - Darwin-13.2.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube:channel] UCANLZYMidaCbLQFWXBC95Jg: Downloading webpage
[youtube:channel] UCANLZYMidaCbLQFWXBC95Jg: Downloading page #1
[youtube:channel] UCANLZYMidaCbLQFWXBC95Jg: Downloading page #2
[youtube:channel] UCANLZYMidaCbLQFWXBC95Jg: Downloading page #3
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/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 200, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1225, 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 410, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
@manumenzella manumenzella changed the title Error when parsing user URL Error when parsing user URL; Error 400 - Bad Request Jun 22, 2014
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 23, 2014

Even the YouTube site itself fails to get the page:

screenshot

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 24, 2014

It seems to work now, can you check it?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 14, 2014

This should probably work with the fix for #4435, so I'm closing it. If it still fails with the last version, please comment here and we will reopen the issue. Thanks for the report.

@jaimeMF jaimeMF closed this Dec 14, 2014
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.