diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-20 11:44:55 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-20 11:44:55 +0530 |
commit | 7b2c3f47c6b586a208655fcfc716bba3f8619d1e (patch) | |
tree | 5e46cf9a1dc7adb8cd8d87f8faae97a5b57fe1b3 /yt_dlp/extractor/abematv.py | |
parent | 8aa0e7cd96a1e2f315d49744793ae07f6543ce4c (diff) | |
download | hypervideo-pre-7b2c3f47c6b586a208655fcfc716bba3f8619d1e.tar.lz hypervideo-pre-7b2c3f47c6b586a208655fcfc716bba3f8619d1e.tar.xz hypervideo-pre-7b2c3f47c6b586a208655fcfc716bba3f8619d1e.zip |
[cleanup] Misc
Diffstat (limited to 'yt_dlp/extractor/abematv.py')
-rw-r--r-- | yt_dlp/extractor/abematv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/abematv.py b/yt_dlp/extractor/abematv.py index 1b9deeae8..81a6542c3 100644 --- a/yt_dlp/extractor/abematv.py +++ b/yt_dlp/extractor/abematv.py @@ -16,7 +16,7 @@ from ..compat import compat_urllib_parse_urlparse, compat_urllib_request from ..utils import ( ExtractorError, bytes_to_intlist, - decode_base, + decode_base_n, int_or_none, intlist_to_bytes, request_to_url, @@ -123,7 +123,7 @@ class AbemaLicenseHandler(compat_urllib_request.BaseHandler): 'Content-Type': 'application/json', }) - res = decode_base(license_response['k'], self.STRTABLE) + res = decode_base_n(license_response['k'], table=self.STRTABLE) encvideokey = bytes_to_intlist(struct.pack('>QQ', res >> 64, res & 0xffffffffffffffff)) h = hmac.new( |