mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-29 15:21:51 +03:00
@@ -74,7 +74,7 @@ class HRTiBaseIE(InfoExtractor):
|
||||
data=json.dumps(auth_data).encode())
|
||||
except ExtractorError as e:
|
||||
if isinstance(e.cause, HTTPError) and e.cause.status == 406:
|
||||
auth_info = self._parse_json(e.cause.response.read().encode(), None)
|
||||
auth_info = self._parse_json(e.cause.response.read().decode(), None)
|
||||
else:
|
||||
raise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user