From: Mike Col Date: Wed, 22 Jan 2014 18:01:41 +0000 (+0100) Subject: [xvideos] Fix thumbnail extraction X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=714d709a31a8fbb8a0aee94df59730673c4c035b;p=youtube-dl [xvideos] Fix thumbnail extraction Signed-off-by: Philipp Hagemeister --- diff --git a/youtube_dl/extractor/xvideos.py b/youtube_dl/extractor/xvideos.py index 90138d7e5..4ee538b50 100644 --- a/youtube_dl/extractor/xvideos.py +++ b/youtube_dl/extractor/xvideos.py @@ -35,8 +35,8 @@ class XVideosIE(InfoExtractor): webpage, u'title') # Extract video thumbnail - video_thumbnail = self._search_regex(r'http://(?:img.*?\.)xvideos.com/videos/thumbs/[a-fA-F0-9]+/[a-fA-F0-9]+/[a-fA-F0-9]+/[a-fA-F0-9]+/([a-fA-F0-9.]+jpg)', - webpage, u'thumbnail', fatal=False) + video_thumbnail = self._search_regex(r'url_bigthumb=(.+?)&', + webpage, u'thumbnail', fatal=False) info = { 'id': video_id,