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

gametrailer.com fails with 2014.01.22 #2189

Closed
sha256sum opened this issue Jan 21, 2014 · 1 comment
Closed

gametrailer.com fails with 2014.01.22 #2189

sha256sum opened this issue Jan 21, 2014 · 1 comment

Comments

@sha256sum
Copy link

@sha256sum sha256sum commented Jan 21, 2014

Hmm. I still get the error for some reason.

As I can't reopen #2188 then I create this new report, as the problem persists.

~/tr$ youtube-dl -U
Updating to version 2014.01.22...
Updated youtube-dl. Restart youtube-dl to use the new version.
~/tr$ youtube-dl http://www.gametrailers.com/videos/6xcpzw/tomb-raider--definitive-edition-the-definitive-lara-trailer
[Gametrailers] 6xcpzw: Downloading webpage
[Gametrailers] 30057c7d-2a8e-4e45-be1a-47fd5a11f403: Downloading info
[Gametrailers] 30057c7d-2a8e-4e45-be1a-47fd5a11f403: Extracting information
[Gametrailers] 30057c7d-2a8e-4e45-be1a-47fd5a11f403: Downloading video urls
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/maj/.bin/youtube-dl/__main__.py", line 18, in <module>
  File "/home/maj/.bin/youtube-dl/youtube_dl/__init__.py", line 767, in main
  File "/home/maj/.bin/youtube-dl/youtube_dl/__init__.py", line 757, in _real_main
  File "/home/maj/.bin/youtube-dl/youtube_dl/YoutubeDL.py", line 961, in download
  File "/home/maj/.bin/youtube-dl/youtube_dl/YoutubeDL.py", line 494, in extract_info
  File "/home/maj/.bin/youtube-dl/youtube_dl/extractor/common.py", line 156, in extract
  File "/home/maj/.bin/youtube-dl/youtube_dl/extractor/gametrailers.py", line 29, in _real_extract
  File "/home/maj/.bin/youtube-dl/youtube_dl/extractor/mtv.py", line 108, in _get_videos_info
  File "/home/maj/.bin/youtube-dl/youtube_dl/extractor/mtv.py", line 84, in _get_video_info
  File "/home/maj/.bin/youtube-dl/youtube_dl/utils.py", line 227, in find_xpath_attr
AssertionError
~/tr$
@phihag phihag closed this in 00122de Jan 22, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Jan 22, 2014

It's sufficient to simply comment, we'll reopen the issue then (but opening a new one is fine too). Sorry, the fix I added only worked in Python 3. Version 2014.01.22.1 corrects this. You can update with youtube-dl -U.

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.