From: cazulu Date: Tue, 14 Jul 2015 06:33:55 +0000 (+0900) Subject: [dailymotion] Extract duration (closes #6221) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=50aa2bb6b94805d901f00d4da7a1b4ff1fcd5169;p=youtube-dl [dailymotion] Extract duration (closes #6221) --- diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.py index 8852f0add..1a41c0db1 100644 --- a/youtube_dl/extractor/dailymotion.py +++ b/youtube_dl/extractor/dailymotion.py @@ -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):