Browse Source

Merge pull request #3283 from MikeCol/redtube_thumb_new

Redtube changed player config, new place to get thumb URL
totalwebcasting
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
1e179c7528
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      youtube_dl/extractor/redtube.py

+ 1
- 3
youtube_dl/extractor/redtube.py 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"


Loading…
Cancel
Save