Browse Source

[xvideos] Fix thumbnail extraction

Signed-off-by: Philipp Hagemeister <phihag@phihag.de>
totalwebcasting
Mike Col 11 years ago
committed by Philipp Hagemeister
parent
commit
714d709a31
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/xvideos.py

+ 2
- 2
youtube_dl/extractor/xvideos.py View File

@ -35,8 +35,8 @@ class XVideosIE(InfoExtractor):
webpage, u'title') webpage, u'title')
# Extract video thumbnail # 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 = { info = {
'id': video_id, 'id': video_id,


Loading…
Cancel
Save