diff options
author | Naglis Jonaitis <njonaitis@gmail.com> | 2015-04-10 02:03:38 +0300 |
---|---|---|
committer | Naglis Jonaitis <njonaitis@gmail.com> | 2015-04-10 02:03:38 +0300 |
commit | 7088f5b5fa07381ec9d484c8ef83616724654e3f (patch) | |
tree | 574c59700e85dd8c729947da67134c8f152c0822 /youtube_dl | |
parent | 5bb6328cb944f67f7981eddc40d92998a153f00d (diff) |
[teamcoco] Extract duration
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/teamcoco.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/teamcoco.py b/youtube_dl/extractor/teamcoco.py index 41677503c..1caf08cb7 100644 --- a/youtube_dl/extractor/teamcoco.py +++ b/youtube_dl/extractor/teamcoco.py @@ -21,6 +21,7 @@ class TeamcocoIE(InfoExtractor): 'ext': 'mp4', 'title': 'Conan Becomes A Mary Kay Beauty Consultant', 'description': 'Mary Kay is perhaps the most trusted name in female beauty, so of course Conan is a natural choice to sell their products.', + 'duration': 504, 'age_limit': 0, } }, { @@ -31,6 +32,7 @@ class TeamcocoIE(InfoExtractor): 'ext': 'mp4', 'description': 'Louis C.K. got starstruck by George W. Bush, so what? Part one.', 'title': 'Louis C.K. Interview Pt. 1 11/3/11', + 'duration': 288, 'age_limit': 0, } } @@ -93,5 +95,6 @@ class TeamcocoIE(InfoExtractor): 'title': data['title'], 'thumbnail': data.get('thumb', {}).get('href'), 'description': data.get('teaser'), + 'duration': data.get('duration'), 'age_limit': self._family_friendly_search(webpage), } |