[dailymotion] Extract duration (closes #6221)
This commit is contained in:
		
				
					committed by
					
						
						Jaime Marquínez Ferrándiz
					
				
			
			
				
	
			
			
			
						parent
						
							1d1dd597ed
						
					
				
				
					commit
					50aa2bb6b9
				
			@@ -53,6 +53,7 @@ class DailymotionIE(DailymotionBaseInfoExtractor):
 | 
			
		||||
                'uploader': 'IGN',
 | 
			
		||||
                'title': 'Steam Machine Models, Pricing Listed on Steam Store - IGN News',
 | 
			
		||||
                'upload_date': '20150306',
 | 
			
		||||
                'duration': 74,
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        # Vevo video
 | 
			
		||||
@@ -164,6 +165,7 @@ class DailymotionIE(DailymotionBaseInfoExtractor):
 | 
			
		||||
            'thumbnail': info['thumbnail_url'],
 | 
			
		||||
            'age_limit': age_limit,
 | 
			
		||||
            'view_count': view_count,
 | 
			
		||||
            'duration': info['duration']
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
    def _get_subtitles(self, video_id, webpage):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user