[xvideos] Added big thumbnail

This commit is contained in:
N1kZ 2019-03-21 11:43:53 +03:00
parent 0a8e251b35
commit a6c951da1d

View File

@ -58,7 +58,8 @@ class XVideosIE(InfoExtractor):
group='title') or self._og_search_title(webpage)
thumbnail = self._search_regex(
(r'setThumbUrl\(\s*(["\'])(?P<thumbnail>(?:(?!\1).)+)\1',
(r'setThumbUrl169\(\s*(["\'])(?P<thumbnail>(?:(?!\1).)+)\1',
r'setThumbUrl\(\s*(["\'])(?P<thumbnail>(?:(?!\1).)+)\1',
r'url_bigthumb=(?P<thumbnail>.+?)&amp'),
webpage, 'thumbnail', fatal=False, group='thumbnail')
duration = int_or_none(self._og_search_property(