diff --git a/youtube_dl/extractor/wikimedia.py b/youtube_dl/extractor/wikimedia.py index 7942142c3..364c77a33 100644 --- a/youtube_dl/extractor/wikimedia.py +++ b/youtube_dl/extractor/wikimedia.py @@ -50,7 +50,7 @@ class WikimediaIE(InfoExtractor): license = clean_html(license) description = get_element_by_class('description', webpage) - author = self._html_search_regex('>\s*Author\s*\s*]*>\s*([^<]+?)\s*', + author = self._html_search_regex(r'>\s*Author\s*\s*]*>\s*([^<]+?)\s*', webpage, 'video author', default=None) info = {'url': video_url, 'description': clean_html(description), 'ext': ext, 'id': video_id.replace('.' + ext, ''), 'title': self._og_search_title(webpage).replace('File:', ''),