1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

fix warning

This commit is contained in:
Aleksei Gusev 2025-02-09 01:10:36 +03:00
parent 94b5fcc988
commit f6d97b3060

View file

@ -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()