mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-04 02:20:10 +09:00
fixed issues.
This commit is contained in:
parent
4a43765c84
commit
5df576b5a1
@ -50,7 +50,7 @@ class WikimediaIE(InfoExtractor):
|
|||||||
license = clean_html(license)
|
license = clean_html(license)
|
||||||
|
|
||||||
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(r'>\s*Author\s*</td>\s*<td\b[^>]*>\s*([^<]+?)\s*</td>',
|
||||||
webpage, 'video author', default=None)
|
webpage, 'video author', 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:', ''),
|
||||||
|
Loading…
Reference in New Issue
Block a user