aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeugeot <peugeot.com>2014-12-26 12:49:13 +0100
committerpeugeot <peugeot.com>2014-12-26 12:49:13 +0100
commit2c0b4752357b0102220874040934d0d124bed35b (patch)
tree1d68074d9b82ab4c03c6b5d472fc87b40e53e4e6
parenta5424052000d6ab69412f380a96f1963f315a295 (diff)
[sunporno] fix duration
-rw-r--r--youtube_dl/extractor/sunporno.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/sunporno.py b/youtube_dl/extractor/sunporno.py
index 263f09b46..6cfbc0160 100644
--- a/youtube_dl/extractor/sunporno.py
+++ b/youtube_dl/extractor/sunporno.py
@@ -39,7 +39,7 @@ class SunPornoIE(InfoExtractor):
r'poster="([^"]+)"', webpage, 'thumbnail', fatal=False)
duration = parse_duration(self._search_regex(
- r'Duration:\s*(\d+:\d+)\s*<', webpage, 'duration', fatal=False))
+ r'Duration:[^\d]+(\d+:\d+)\s*<', webpage, 'duration', fatal=False))
view_count = int_or_none(self._html_search_regex(
r'class="views">\s*(\d+)\s*<', webpage, 'view count', fatal=False))