Merge pull request #3283 from MikeCol/redtube_thumb_new

Redtube changed player config, new place to get thumb URL
pull/8/head
Jaime Marquínez Ferrándiz 2014-07-17 12:44:21 +02:00
commit 1e179c7528
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -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"