mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-10-31 17:53:11 +00:00 
			
		
		
		
	[extractor/common] Improve thumbnail extraction from JSON-LD
This commit is contained in:
		
							parent
							
								
									8b1aeadc33
								
							
						
					
					
						commit
						f076d7972c
					
				| @ -886,7 +886,7 @@ class InfoExtractor(object): | ||||
|                         'url': e.get('contentUrl'), | ||||
|                         'title': unescapeHTML(e.get('name')), | ||||
|                         'description': unescapeHTML(e.get('description')), | ||||
|                         'thumbnail': e.get('thumbnailUrl'), | ||||
|                         'thumbnail': e.get('thumbnailUrl') or e.get('thumbnailURL'), | ||||
|                         'duration': parse_duration(e.get('duration')), | ||||
|                         'timestamp': unified_timestamp(e.get('uploadDate')), | ||||
|                         'filesize': float_or_none(e.get('contentSize')), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sergey M․
						Sergey M․