mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 22:37:07 -05:00 
			
		
		
		
	[extractor/common] Extract view count from JSON-LD
This commit is contained in:
		@@ -990,6 +990,7 @@ class InfoExtractor(object):
 | 
			
		||||
                'tbr': int_or_none(e.get('bitrate')),
 | 
			
		||||
                'width': int_or_none(e.get('width')),
 | 
			
		||||
                'height': int_or_none(e.get('height')),
 | 
			
		||||
                'view_count': int_or_none(e.get('interactionCount')),
 | 
			
		||||
            })
 | 
			
		||||
 | 
			
		||||
        for e in json_ld:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user