1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-07-18 19:28:31 +00:00

remove write_debug

This commit is contained in:
_Grqz 2025-07-15 14:50:22 +12:00
parent 8385332556
commit 43c7d5077f
No known key found for this signature in database
GPG Key ID: 4A31E5120DA20EB2

View File

@ -222,7 +222,6 @@ def _download_playinfo(self, bvid, cid, headers=None, query=None):
query=self._sign_wbi(merge_dicts(params, self._dm_params), bvid), headers=headers, note=note)['data'] query=self._sign_wbi(merge_dicts(params, self._dm_params), bvid), headers=headers, note=note)['data']
if playurl_data.get('v_voucher'): if playurl_data.get('v_voucher'):
self.report_warning('Received a captcha from Bilibili while downloading play info') self.report_warning('Received a captcha from Bilibili while downloading play info')
self.write_debug(playurl_data)
return None return None
else: else:
return playurl_data return playurl_data