[cleanup] Misc

This commit is contained in:
pukkandan 2022-07-18 04:26:50 +05:30
parent ce7f6aa660
commit c6e07cf1e1
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
10 changed files with 40 additions and 26 deletions

View file

@ -931,9 +931,9 @@ class InfoExtractor:
def __print_error(self, errnote, fatal, video_id, err):
if fatal:
raise ExtractorError(f'{video_id}: {errnote} ', cause=err)
raise ExtractorError(f'{video_id}: {errnote}', cause=err)
elif errnote:
self.report_warning(f'{video_id}: {errnote} {err}')
self.report_warning(f'{video_id}: {errnote}: {err}')
def _parse_xml(self, xml_string, video_id, transform_source=None, fatal=True, errnote=None):
if transform_source: