From 714d709a31a8fbb8a0aee94df59730673c4c035b Mon Sep 17 00:00:00 2001 From: Mike Col Date: Wed, 22 Jan 2014 19:01:41 +0100 Subject: [PATCH] [xvideos] Fix thumbnail extraction Signed-off-by: Philipp Hagemeister --- youtube_dl/extractor/xvideos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ def _real_extract(self, url): 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,