A feature-rich command-line audio/video downloader
[xhamster] flake8
Sergey M․c73cdd800f0d
diff --git a/youtube_dl/extractor/xhamster.py b/youtube_dl/extractor/xhamster.pyindex f76ee8fd42..97315750fd 100644--- a/youtube_dl/extractor/xhamster.py+++ b/youtube_dl/extractor/xhamster.py@@ -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))