diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-08-31 22:35:39 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-08-31 22:35:39 +0200 |
commit | 6c758d79de48956b90d9e78aec695ee0b10b00d2 (patch) | |
tree | 6cbfbb923153fe5d2f7f34c2e7ac6d6d76e4a44f /youtube_dl | |
parent | 691008087b902fa731a8f4f840c1821c93505840 (diff) |
[metacafe] Add more cases for detecting the uploader detection (reported in #1343)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/metacafe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/metacafe.py b/youtube_dl/extractor/metacafe.py index e38dc98b4..e537648ff 100644 --- a/youtube_dl/extractor/metacafe.py +++ b/youtube_dl/extractor/metacafe.py @@ -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 { |