From 2c0b4752357b0102220874040934d0d124bed35b Mon Sep 17 00:00:00 2001 From: peugeot Date: Fri, 26 Dec 2014 12:49:13 +0100 Subject: [PATCH] [sunporno] fix duration --- youtube_dl/extractor/sunporno.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))