1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 20:12:52 +08:00

Redtube changed player config, new place to get thumb URL

This commit is contained in:
MikeCol 2014-07-17 11:17:27 +02:00
parent 74aa18f68f
commit 530ed178b7

View File

@ -35,9 +35,7 @@ class RedTubeIE(InfoExtractor):
r'<h1 class="videoTitle[^"]*">(.+?)</h1>',
webpage, u'title')
video_thumbnail = self._html_search_regex(
r'playerInnerHTML.+?<img\s+src="(.+?)"',
webpage, u'thumbnail', fatal=False)
video_thumbnail = self._og_search_thumbnail(webpage)
# No self-labeling, but they describe themselves as
# "Home of Videos Porno"