From: peugeot Date: Fri, 26 Dec 2014 11:49:13 +0000 (+0100) Subject: [sunporno] fix duration X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2c0b4752357b0102220874040934d0d124bed35b;p=youtube-dl [sunporno] fix duration --- 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))