From a6c951da1d95765efb9ef97ee295a6eb23f0d155 Mon Sep 17 00:00:00 2001 From: N1kZ Date: Thu, 21 Mar 2019 11:43:53 +0300 Subject: [PATCH] [xvideos] Added big thumbnail --- youtube_dl/extractor/xvideos.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/xvideos.py b/youtube_dl/extractor/xvideos.py index ec2d913fc..f9dd7eaa3 100644 --- a/youtube_dl/extractor/xvideos.py +++ b/youtube_dl/extractor/xvideos.py @@ -58,7 +58,8 @@ class XVideosIE(InfoExtractor): group='title') or self._og_search_title(webpage) thumbnail = self._search_regex( - (r'setThumbUrl\(\s*(["\'])(?P(?:(?!\1).)+)\1', + (r'setThumbUrl169\(\s*(["\'])(?P(?:(?!\1).)+)\1', + r'setThumbUrl\(\s*(["\'])(?P(?:(?!\1).)+)\1', r'url_bigthumb=(?P.+?)&'), webpage, 'thumbnail', fatal=False, group='thumbnail') duration = int_or_none(self._og_search_property(