mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 03:03:01 +00:00
[comcarcoff] Add support for singleshots (Closes #6366)
This commit is contained in:
parent
7a89681722
commit
5bdec59de1
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ def _real_extract(self, url):
|
|||
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…
Reference in a new issue