Browse Source

[metacafe] Add more cases for detecting the uploader detection (reported in #1343)

rtmp_test
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
6c758d79de
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/metacafe.py

+ 1
- 1
youtube_dl/extractor/metacafe.py View File

@ -122,7 +122,7 @@ class MetacafeIE(InfoExtractor):
video_title = self._html_search_regex(r'(?im)<title>(.*) - Video</title>', webpage, u'title')
description = self._og_search_description(webpage)
video_uploader = self._html_search_regex(
r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("channel","([^"]+)"\);',
r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("(?:channel|submiter)","([^"]+)"\);',
webpage, u'uploader nickname', fatal=False)
return {


Loading…
Cancel
Save