projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a89681
)
[comcarcoff] Add support for singleshots (Closes #6366)
author
Sergey M․
<dstftw@gmail.com>
Sun, 26 Jul 2015 03:51:54 +0000
(09:51 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 26 Jul 2015 03:51:54 +0000
(09:51 +0600)
youtube_dl/extractor/comcarcoff.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/comcarcoff.py
b/youtube_dl/extractor/comcarcoff.py
index 9c25b2223184ad1258b399b154aa821954581350..81f3d7697b843d3d9abb23fbc047b8230a69b351 100644
(file)
--- a/
youtube_dl/extractor/comcarcoff.py
+++ b/
youtube_dl/extractor/comcarcoff.py
@@
-36,7
+36,7
@@
class ComCarCoffIE(InfoExtractor):
webpage, 'full data json'))
video_id = full_data['activeVideo']['video']
- video_data = full_data
['video
s'][video_id]
+ video_data = full_data
.get('videos', {}).get(video_id) or full_data['singleshot
s'][video_id]
thumbnails = [{
'url': video_data['images']['thumb'],
}, {