mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-07 12:18:51 +00:00
[ie/youtube] Improve signature extraction debug output (#13327)
Authored by: bashonly
This commit is contained in:
parent
6d265388c6
commit
d30a49742c
@ -3398,8 +3398,15 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||||||
self._decrypt_signature(encrypted_sig, video_id, player_url),
|
self._decrypt_signature(encrypted_sig, video_id, player_url),
|
||||||
)
|
)
|
||||||
except ExtractorError as e:
|
except ExtractorError as e:
|
||||||
self.report_warning('Signature extraction failed: Some formats may be missing',
|
self.report_warning(
|
||||||
video_id=video_id, only_once=True)
|
f'Signature extraction failed: Some formats may be missing\n'
|
||||||
|
f' player = {player_url}\n'
|
||||||
|
f' {bug_reports_message(before="")}',
|
||||||
|
video_id=video_id, only_once=True)
|
||||||
|
self.write_debug(
|
||||||
|
f'{video_id}: Signature extraction failure info:\n'
|
||||||
|
f' encrypted sig = {encrypted_sig}\n'
|
||||||
|
f' player = {player_url}')
|
||||||
self.write_debug(e, only_once=True)
|
self.write_debug(e, only_once=True)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user