Browse Source

Merge remote-tracking branch 'ruuk/master'

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
0d7caf5cdf
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      youtube_dl/extractor/metacafe.py

+ 2
- 0
youtube_dl/extractor/metacafe.py View File

@ -166,6 +166,7 @@ class MetacafeIE(InfoExtractor):
video_title = self._html_search_regex(r'(?im)<title>(.*) - Video</title>', webpage, u'title')
description = self._og_search_description(webpage)
thumbnail = self._og_search_thumbnail(webpage)
video_uploader = self._html_search_regex(
r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("(?:channel|submiter)","([^"]+)"\);',
webpage, u'uploader nickname', fatal=False)
@ -183,6 +184,7 @@ class MetacafeIE(InfoExtractor):
'uploader': video_uploader,
'upload_date': None,
'title': video_title,
'thumbnail':thumbnail,
'ext': video_ext,
'age_limit': age_limit,
}

Loading…
Cancel
Save