mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-03 03:48:31 +00:00
fix warning
This commit is contained in:
parent
94b5fcc988
commit
f6d97b3060
@ -68,7 +68,7 @@ def extract_info(self, video_id):
|
|||||||
headers={'Authorization': token},
|
headers={'Authorization': token},
|
||||||
)
|
)
|
||||||
except ExtractorError as e:
|
except ExtractorError as e:
|
||||||
self.to_screen(f'Downloading video information failed, {e.cause.response.read().decode()}')
|
self.report_warning(f'Downloading video information failed, {e.cause.response.read().decode()}')
|
||||||
|
|
||||||
title = (video.get('title') or 'title').strip()
|
title = (video.get('title') or 'title').strip()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user