mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 02:07:07 -05:00 
			
		
		
		
	[comcarcoff] Add support for singleshots (Closes #6366)
This commit is contained in:
		@@ -36,7 +36,7 @@ class ComCarCoffIE(InfoExtractor):
 | 
				
			|||||||
            webpage, 'full data json'))
 | 
					            webpage, 'full data json'))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        video_id = full_data['activeVideo']['video']
 | 
					        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 = [{
 | 
					        thumbnails = [{
 | 
				
			||||||
            'url': video_data['images']['thumb'],
 | 
					            'url': video_data['images']['thumb'],
 | 
				
			||||||
        }, {
 | 
					        }, {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user