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. Used to work #2188

Closed
sha256sum opened this issue Jan 21, 2014 · 2 comments
Closed

Gametrailer.com fails. Used to work #2188

sha256sum opened this issue Jan 21, 2014 · 2 comments

Comments

@sha256sum
Copy link

@sha256sum sha256sum commented Jan 21, 2014

~/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 511, in extract_info
  File "/home/maj/.bin/youtube-dl/youtube_dl/YoutubeDL.py", line 627, in process_ie_result
  File "/home/maj/.bin/youtube-dl/youtube_dl/YoutubeDL.py", line 538, in process_ie_result
  File "/home/maj/.bin/youtube-dl/youtube_dl/YoutubeDL.py", line 742, in process_video_result
  File "/home/maj/.bin/youtube-dl/youtube_dl/YoutubeDL.py", line 755, in process_info
TypeError: object of type 'NoneType' has no len()
~/tr$ 
@phihag
Copy link
Contributor

@phihag phihag commented Jan 21, 2014

Thanks for the report. This has been fixed in youtube-dl 2014.01.22. Type youtube-dl -U to update.

@phihag phihag closed this in 90834c7 Jan 21, 2014
@sha256sum
Copy link
Author

@sha256sum sha256sum commented Jan 21, 2014

Hmm. I still get the error for some reason.

~/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$
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.