1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-18 05:27:47 +01:00

[xvideos] Fix thumbnail extraction

Signed-off-by: Philipp Hagemeister <phihag@phihag.de>
This commit is contained in:
Mike Col 2014-01-22 19:01:41 +01:00 committed by Philipp Hagemeister
parent 11577ec054
commit 714d709a31

View File

@ -35,7 +35,7 @@ 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)',
video_thumbnail = self._search_regex(r'url_bigthumb=(.+?)&amp',
webpage, u'thumbnail', fatal=False)
info = {