1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 02:52:51 +08:00

[xhamster] flake8

This commit is contained in:
Sergey M․ 2015-08-05 23:08:55 +06:00
parent f535ec8278
commit c73cdd800f

View File

@ -81,7 +81,7 @@ class XHamsterIE(InfoExtractor):
thumbnail = self._search_regex(
[r'''thumb\s*:\s*(?P<q>["'])(?P<thumbnail>.+?)(?P=q)''',
r'''<video[^>]+poster=(?P<q>["'])(?P<thumbnail>.+?)(?P=q)[^>]*>'''],
webpage, 'thumbnail', fatal=False, group='thumbnail')
webpage, 'thumbnail', fatal=False, group='thumbnail')
duration = parse_duration(self._html_search_regex(r'<span>Runtime:</span> (\d+:\d+)</div>',
webpage, 'duration', fatal=False))