mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-09 21:10:10 +09:00
fixed issues.
This commit is contained in:
parent
65274df94b
commit
4a43765c84
@ -52,7 +52,6 @@ class WikimediaIE(InfoExtractor):
|
|||||||
description = get_element_by_class('description', webpage)
|
description = get_element_by_class('description', webpage)
|
||||||
author = self._html_search_regex('>\s*Author\s*</td>\s*<td\b[^>]*>\s*([^<]+?)\s*</td>',
|
author = self._html_search_regex('>\s*Author\s*</td>\s*<td\b[^>]*>\s*([^<]+?)\s*</td>',
|
||||||
webpage, 'video author', default=None)
|
webpage, 'video author', default=None)
|
||||||
default=None)
|
|
||||||
info = {'url': video_url, 'description': clean_html(description), 'ext': ext,
|
info = {'url': video_url, 'description': clean_html(description), 'ext': ext,
|
||||||
'id': video_id.replace('.' + ext, ''), 'title': self._og_search_title(webpage).replace('File:', ''),
|
'id': video_id.replace('.' + ext, ''), 'title': self._og_search_title(webpage).replace('File:', ''),
|
||||||
'license': license, 'author': author}
|
'license': license, 'author': author}
|
||||||
|
Loading…
Reference in New Issue
Block a user