summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2013-08-31 22:35:39 +0200
committerJaime Marquínez Ferrándiz <[email protected]>2013-08-31 22:35:39 +0200
commit6c758d79de48956b90d9e78aec695ee0b10b00d2 (patch)
tree6cbfbb923153fe5d2f7f34c2e7ac6d6d76e4a44f
parent691008087b902fa731a8f4f840c1821c93505840 (diff)
downloadyoutube-dl-6c758d79de48956b90d9e78aec695ee0b10b00d2.tar.gz
youtube-dl-6c758d79de48956b90d9e78aec695ee0b10b00d2.zip
[metacafe] Add more cases for detecting the uploader detection (reported in #1343)
-rw-r--r--youtube_dl/extractor/metacafe.py2
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 {