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

GameTrailers Bad Request #4123

Closed
pascalbrax opened this issue Nov 7, 2014 · 2 comments
Closed

GameTrailers Bad Request #4123

pascalbrax opened this issue Nov 7, 2014 · 2 comments

Comments

@pascalbrax
Copy link
Contributor

@pascalbrax pascalbrax commented Nov 7, 2014

I tried to download a video from GameTrailers, with authentication (results below) and without authentication (same Bad Request result).

 $ youtube-dl http://www.gametrailers.com/full-episodes/p1elo8/gt-retrospectives-halo-retrospective--part-i -u pascalbrax@my.email.com --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.gametrailers.com/full-episodes/p1elo8/gt-retrospectives-halo-retrospective--part-i', '-u', u'PRIVATE', '--verbose']
Type account password and press [Return]:
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.04
[debug] Python version 2.7.8 - Linux-3.11.6-gentoo-pbx-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2.0
[debug] exe versions: ffmpeg 2.1.5, ffprobe 2.1.5
[debug] Proxy map: {}
[Gametrailers] gt-retrospectives-halo-retrospective--part-i: Downloading webpage
[Gametrailers] 9ec80cbe-85a2-448c-a0bf-146d0469749d: Downloading info
[Gametrailers] ce961dc4-e96c-438a-92aa-eb5c9fbd98a6: Extracting information
[Gametrailers] ce961dc4-e96c-438a-92aa-eb5c9fbd98a6: Downloading video urls
[debug] Invoking downloader on u'http://mtvnmobile.vo.llnwd.net/kip0/_pxn=1+_pxI0=Ripod-h264+_pxL0=undefined+_pxM0=+_pxK=18639+_pxE=mp4/44620/mtvnorigin/gsp.gtcomstor/media/video/7/7/f/d/6/gt_retro_halo_part_1_1280x720_3500_h32.mp4'
ERROR: unable to download video data: HTTP Error 400: Bad Request
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1055, in process_info
    success = dl(filename, info_dict)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1031, in dl
    return fd.download(name, info)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 292, in download
    return self.real_download(filename, info_dict)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/http.py", line 64, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1289, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request
@Tailszefox
Copy link
Contributor

@Tailszefox Tailszefox commented Nov 11, 2014

EDIT : Forget everything I said, #4153 has the solution.

@pascalbrax
Copy link
Contributor Author

@pascalbrax pascalbrax commented Nov 12, 2014

Confirm.

Changing line 36 in mtv.py fixes this issue.

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.