mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-14 18:49:06 -07:00
[utils] Merge base_n functions
This commit is contained in:
parent
8f4a2124a9
commit
59f898b7a7
3 changed files with 11 additions and 13 deletions
|
@ -18,7 +18,7 @@ from ..compat import (
|
|||
compat_urllib_parse_urlparse,
|
||||
)
|
||||
from ..utils import (
|
||||
base62,
|
||||
base_n,
|
||||
ExtractorError,
|
||||
ohdave_rsa_encrypt,
|
||||
remove_start,
|
||||
|
@ -143,7 +143,7 @@ class IqiyiSDKInterpreter(object):
|
|||
|
||||
while count:
|
||||
count -= 1
|
||||
b62count = base62(count)
|
||||
b62count = base_n(count, 62)
|
||||
symbol_table[b62count] = symbols[count] or b62count
|
||||
|
||||
self.sdk_code = re.sub(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue