mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 15:46:54 +01:00
[xvideos] Fix thumbnail extraction
Signed-off-by: Philipp Hagemeister <phihag@phihag.de>
This commit is contained in:
parent
11577ec054
commit
714d709a31
@ -35,8 +35,8 @@ def _real_extract(self, url):
|
|||||||
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)',
|
video_thumbnail = self._search_regex(r'url_bigthumb=(.+?)&',
|
||||||
webpage, u'thumbnail', fatal=False)
|
webpage, u'thumbnail', fatal=False)
|
||||||
|
|
||||||
info = {
|
info = {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user