]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[voicerepublic] Extract author using _html_search_meta
authorDuncan <duncan@vtllf.org>
Sun, 10 May 2015 03:01:58 +0000 (15:01 +1200)
committerDuncan <duncan@vtllf.org>
Sun, 10 May 2015 03:01:58 +0000 (15:01 +1200)
youtube_dl/extractor/voicerepublic.py

index 1a90693cb7757d617789f23b25244c1674fed8f0..7d255d6fad9e892652eb28507d45363c8f372faf 100644 (file)
@@ -51,5 +51,5 @@ class VoiceRepublicIE(InfoExtractor):
             'url': self._og_search_url(webpage),
             'thumbnail': thumbnail,
             'description': self._og_search_description(webpage),
-            'creator': self._search_regex(r'<meta content=\'([^\']*?)\' name=\'author\'>', webpage, 'author', fatal=False),
+            'creator': self._html_search_meta('author', webpage),
         }