1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-29 21:52:54 +00:00

[voicerepublic] Extract author using _html_search_meta

This commit is contained in:
Duncan 2015-05-10 15:01:58 +12:00
parent c6ddbdb66c
commit f900dc3fb9

View file

@ -51,5 +51,5 @@ class VoiceRepublicIE(InfoExtractor):
'url': self._og_search_url(webpage), 'url': self._og_search_url(webpage),
'thumbnail': thumbnail, 'thumbnail': thumbnail,
'description': self._og_search_description(webpage), '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),
} }