projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[utils] Merge base_n functions
[youtube-dl]
/
youtube_dl
/
extractor
/
iqiyi.py
diff --git
a/youtube_dl/extractor/iqiyi.py
b/youtube_dl/extractor/iqiyi.py
index 4f02b9f87e868443b1a33f6030b35eef3ff5292a..76ecd55a4a9ad0859d09c48a3d6f20dd088f8785 100644
(file)
--- a/
youtube_dl/extractor/iqiyi.py
+++ b/
youtube_dl/extractor/iqiyi.py
@@
-18,7
+18,7
@@
from ..compat import (
compat_urllib_parse_urlparse,
)
from ..utils import (
compat_urllib_parse_urlparse,
)
from ..utils import (
- base
62
,
+ base
_n
,
ExtractorError,
ohdave_rsa_encrypt,
remove_start,
ExtractorError,
ohdave_rsa_encrypt,
remove_start,
@@
-143,7
+143,7
@@
class IqiyiSDKInterpreter(object):
while count:
count -= 1
while count:
count -= 1
- b62count = base
62(count
)
+ b62count = base
_n(count, 62
)
symbol_table[b62count] = symbols[count] or b62count
self.sdk_code = re.sub(
symbol_table[b62count] = symbols[count] or b62count
self.sdk_code = re.sub(