mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-15 19:16:46 +01:00
[cleanup] Misc
This commit is contained in:
parent
ce7f6aa660
commit
c6e07cf1e1
10 changed files with 40 additions and 26 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue