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

An attempt to download a particular video from twitch.tv leads to the TypeError exception #6585

Closed
LannTheStupid opened this issue Aug 16, 2015 · 0 comments

Comments

@LannTheStupid
Copy link

@LannTheStupid LannTheStupid commented Aug 16, 2015

I am trying to download a record from this twitch page: http://www.twitch.tv/belkao_o/profile/past_broadcasts
The video I am trying to download is this: http://www.twitch.tv/belkao_o/v/11230755
However, I am getting a Python TypeError exception with the traceback.

Here is the program output:

X:>youtube-dl --verbose http://www.twitch.tv/belkao_o/v/11230755
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://www.twitch.tv/belkao_o/v/11230755']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.08.16.1
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-72346-ga838b22, ffprobe N-72346-ga838b22
[debug] Proxy map: {}
[twitch:vod] 11230755: Downloading vod info JSON
[twitch:vod] 11230755: Downloading vod access token
[twitch:vod] 11230755: Downloading m3u8 information
Traceback (most recent call last):
File "main.py", line 19, in
File "youtube_dl__init__.pyo", line 410, in main
File "youtube_dl__init__.pyo", line 400, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 1653, in download
File "youtube_dl\YoutubeDL.pyo", line 666, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 712, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 1323, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 1388, in process_info
TypeError: object of type 'NoneType' has no len()

X:>youtube-dl -U
youtube-dl is up-to-date (2015.08.16.1)

The version seems to be the most recent one.

I have the same error for another video on the same page: http://www.twitch.tv/belkao_o/v/10934137
However, the program works for other videos from the same page (f.e. http://www.twitch.tv/belkao_o/b/682207189). The program also works with other twitch broadcasters.

@dstftw dstftw closed this in 369c12e Aug 17, 2015
dstftw added a commit that referenced this issue Aug 17, 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.