mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 14:52:38 +00:00
Redtube changed player config, new place to get thumb URL
This commit is contained in:
parent
74aa18f68f
commit
530ed178b7
@ -35,9 +35,7 @@ class RedTubeIE(InfoExtractor):
|
|||||||
r'<h1 class="videoTitle[^"]*">(.+?)</h1>',
|
r'<h1 class="videoTitle[^"]*">(.+?)</h1>',
|
||||||
webpage, u'title')
|
webpage, u'title')
|
||||||
|
|
||||||
video_thumbnail = self._html_search_regex(
|
video_thumbnail = self._og_search_thumbnail(webpage)
|
||||||
r'playerInnerHTML.+?<img\s+src="(.+?)"',
|
|
||||||
webpage, u'thumbnail', fatal=False)
|
|
||||||
|
|
||||||
# No self-labeling, but they describe themselves as
|
# No self-labeling, but they describe themselves as
|
||||||
# "Home of Videos Porno"
|
# "Home of Videos Porno"
|
||||||
|
Loading…
Reference in New Issue
Block a user