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

dump-json crashes for specific Twitch URI #7175

Closed
jufius opened this issue Oct 14, 2015 · 0 comments
Closed

dump-json crashes for specific Twitch URI #7175

jufius opened this issue Oct 14, 2015 · 0 comments

Comments

@jufius
Copy link

@jufius jufius commented Oct 14, 2015

First off, thanks for all the work you put into youtube-dl!

I'm using youtube-dl version 2015.10.13, the error however exists in previous versions as well.
When I execute youtube-dl -j http://www.twitch.tv/coestar/profile/past_broadcasts, I get the following error after some elements have been downloaded:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/pi/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/home/pi/bin/youtube-dl/youtube_dl/__init__.py", line 410, in main

  File "/home/pi/bin/youtube-dl/youtube_dl/__init__.py", line 400, in _real_main

  File "/home/pi/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1665, in download
  File "/home/pi/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 671, in extract_info
  File "/home/pi/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 832, in process_ie_result
  File "/home/pi/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 724, in process_ie_result
  File "/home/pi/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 660, in extract_info
  File "/home/pi/bin/youtube-dl/youtube_dl/extractor/common.py", line 290, in extract
  File "/home/pi/bin/youtube-dl/youtube_dl/extractor/twitch.py", line 248, in _real_extract
  File "/home/pi/bin/youtube-dl/youtube_dl/extractor/common.py", line 977, in _extract_m3u8_formats
  File "/home/pi/bin/youtube-dl/youtube_dl/utils.py", line 1374, in int_or_none
ValueError: invalid literal for int() with base 10: 'None'

The culprit may be close to a video entry from after 2015-10-05, because before I did not encounter this problem. I suspect it has something to do with the single video entry from 2015-10-06.

As a side note, the videos themselves download without error.

@dstftw dstftw closed this in 1812afb Oct 14, 2015
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
1 participant
You can’t perform that action at this time.