diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2014-07-17 12:44:21 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2014-07-17 12:44:21 +0200 |
commit | 1e179c752890e660041e7a0c5d02ea93d373daee (patch) | |
tree | 4426d633558f1bc7846a4f4e8302397eb9783fcf | |
parent | 74aa18f68ffe5a721fae1149193c8b6401076d63 (diff) | |
parent | 530ed178b73b02087362d0b29fb158b28a37d657 (diff) | |
download | youtube-dl-1e179c752890e660041e7a0c5d02ea93d373daee.tar.gz youtube-dl-1e179c752890e660041e7a0c5d02ea93d373daee.zip |
Merge pull request #3283 from MikeCol/redtube_thumb_new
Redtube changed player config, new place to get thumb URL
-rw-r--r-- | youtube_dl/extractor/redtube.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/youtube_dl/extractor/redtube.py b/youtube_dl/extractor/redtube.py index 4295cf93a..d1e12dd8d 100644 --- a/youtube_dl/extractor/redtube.py +++ b/youtube_dl/extractor/redtube.py @@ -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" |