diff options
author | Sergey M. <dstftw@gmail.com> | 2014-12-26 19:25:05 +0600 |
---|---|---|
committer | Sergey M. <dstftw@gmail.com> | 2014-12-26 19:25:05 +0600 |
commit | 53096539dcb3d7c1f62c25444ea3616d0861b2fc (patch) | |
tree | 1d68074d9b82ab4c03c6b5d472fc87b40e53e4e6 /youtube_dl/extractor/sunporno.py | |
parent | a5424052000d6ab69412f380a96f1963f315a295 (diff) | |
parent | 2c0b4752357b0102220874040934d0d124bed35b (diff) |
Merge pull request #4568 from peugeot/sunporno
[sunporno] fix duration
Diffstat (limited to 'youtube_dl/extractor/sunporno.py')
-rw-r--r-- | youtube_dl/extractor/sunporno.py | 2 |
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)) |