logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 1e179c752890e660041e7a0c5d02ea93d373daee
parent 74aa18f68ffe5a721fae1149193c8b6401076d63
Author: Jaime Marquínez Ferrándiz <jaimeMF@users.noreply.github.com>
Date:   Thu, 17 Jul 2014 12:44:21 +0200

Merge pull request #3283 from MikeCol/redtube_thumb_new

Redtube changed player config, new place to get thumb URL

Diffstat:

Myoutube_dl/extractor/redtube.py4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 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"