logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 714d709a31a8fbb8a0aee94df59730673c4c035b
parent 11577ec0542163cbae5ad97869ea56bbd46bbc37
Author: Mike Col <MikeCol@gmx.net>
Date:   Wed, 22 Jan 2014 19:01:41 +0100

[xvideos] Fix thumbnail extraction

Signed-off-by: Philipp Hagemeister <phihag@phihag.de>

Diffstat:

Myoutube_dl/extractor/xvideos.py4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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=(.+?)&amp', + webpage, u'thumbnail', fatal=False) info = { 'id': video_id,