mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
Fix printing title etc.
This commit is contained in:
@@ -339,7 +339,7 @@ def _real_extract(self, url):
|
||||
return
|
||||
if 'token' not in video_info:
|
||||
if 'reason' in video_info:
|
||||
self._downloader.trouble(u'ERROR: YouTube said: %s' % video_info['reason'][0].decode('utf-8'))
|
||||
self._downloader.trouble(u'ERROR: YouTube said: %s' % video_info['reason'][0])
|
||||
else:
|
||||
self._downloader.trouble(u'ERROR: "token" parameter not in video info for unknown reason')
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user