summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Col <MikeCol@gmx.net>2014-01-22 19:01:41 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-22 19:01:41 +0100
commit714d709a31a8fbb8a0aee94df59730673c4c035b (patch)
tree8e66d9cf256cdb50f5d1b78dd9b334dd9cdf649d
parent11577ec0542163cbae5ad97869ea56bbd46bbc37 (diff)
downloadyoutube-dl-714d709a31a8fbb8a0aee94df59730673c4c035b.tar.gz
youtube-dl-714d709a31a8fbb8a0aee94df59730673c4c035b.tar.xz
youtube-dl-714d709a31a8fbb8a0aee94df59730673c4c035b.zip
[xvideos] Fix thumbnail extraction
Signed-off-by: Philipp Hagemeister <phihag@phihag.de>
-rw-r--r--youtube_dl/extractor/xvideos.py4
1 files 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 @@ 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,