Update xvideos.py
This commit is contained in:
parent
eeb2883097
commit
7be3cb65fc
@ -58,10 +58,9 @@ class XVideosIE(InfoExtractor):
|
|||||||
group='title') or self._og_search_title(webpage)
|
group='title') or self._og_search_title(webpage)
|
||||||
|
|
||||||
thumbnail = self._search_regex(
|
thumbnail = self._search_regex(
|
||||||
(r'url_bigthumb=(.+?)&',
|
(r'setThumbUrl\(\s*(["\'])(?P<thumbnail>(?:(?!\1).)+)\1',
|
||||||
r'html5player\.setThumbUrl\(\'(.+?)\'\);'),
|
r'url_bigthumb=(?P<thumbnail>.+?)&'),
|
||||||
webpage, 'thumbnail', fatal=False)
|
webpage, 'thumbnail', fatal=False, group='thumbnail')
|
||||||
|
|
||||||
duration = int_or_none(self._og_search_property(
|
duration = int_or_none(self._og_search_property(
|
||||||
'duration', webpage, default=None)) or parse_duration(
|
'duration', webpage, default=None)) or parse_duration(
|
||||||
self._search_regex(
|
self._search_regex(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user