projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c23945
)
[cliphunter] Remove duration
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 29 Sep 2014 04:22:54 +0000
(06:22 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 29 Sep 2014 04:22:54 +0000
(06:22 +0200)
youtube_dl/extractor/cliphunter.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/cliphunter.py
b/youtube_dl/extractor/cliphunter.py
index 65c12136a3a636763e5d41fb307beb798ee27b83..d4227e6ebb51244018d24da87927c54061058dc8 100644
(file)
--- a/
youtube_dl/extractor/cliphunter.py
+++ b/
youtube_dl/extractor/cliphunter.py
@@
-35,7
+35,6
@@
class CliphunterIE(InfoExtractor):
'title': 'Fun Jynx Maze solo',
'thumbnail': 're:^https?://.*\.jpg$',
'age_limit': 18,
- 'duration': 1317,
}
}
@@
-86,14
+85,11
@@
class CliphunterIE(InfoExtractor):
thumbnail = self._search_regex(
r"var\s+mov_thumb\s*=\s*'([^']+)';",
webpage, 'thumbnail', fatal=False)
- duration = int_or_none(self._search_regex(
- r'pl_dur\s*=\s*([0-9]+)', webpage, 'duration', fatal=False))
return {
'id': video_id,
'title': video_title,
'formats': formats,
- 'duration': duration,
'age_limit': self._rta_search(webpage),
'thumbnail': thumbnail,
}