projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11577ec
)
[xvideos] Fix thumbnail extraction
author
Mike Col
<MikeCol@gmx.net>
Wed, 22 Jan 2014 18:01:41 +0000
(19:01 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 22 Jan 2014 18:01:41 +0000
(19:01 +0100)
Signed-off-by: Philipp Hagemeister <phihag@phihag.de>
youtube_dl/extractor/xvideos.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xvideos.py
b/youtube_dl/extractor/xvideos.py
index 90138d7e523a405c20bae8352c6233b5868860f5..4ee538b5038a08b778b3b03984a74770f299e1b6 100644
(file)
--- 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,