Browse Source

[comcarcoff] Add support for singleshots (Closes #6366)

totalwebcasting
Sergey M․ 9 years ago
parent
commit
5bdec59de1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/comcarcoff.py

+ 1
- 1
youtube_dl/extractor/comcarcoff.py View File

@ -36,7 +36,7 @@ class ComCarCoffIE(InfoExtractor):
webpage, 'full data json'))
video_id = full_data['activeVideo']['video']
video_data = full_data['videos'][video_id]
video_data = full_data.get('videos', {}).get(video_id) or full_data['singleshots'][video_id]
thumbnails = [{
'url': video_data['images']['thumb'],
}, {


Loading…
Cancel
Save