mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 16:57:40 +00:00
[openload] Fix extraction
This commit is contained in:
parent
2a721cdff2
commit
5f0daab1ca
1 changed files with 3 additions and 3 deletions
|
@ -80,8 +80,8 @@ class OpenloadIE(InfoExtractor):
|
|||
first_char = ord(ol_id[0])
|
||||
key = first_char - 55
|
||||
maxKey = max(2, key)
|
||||
key = min(maxKey, len(ol_id) - 26)
|
||||
t = ol_id[key:key + 24]
|
||||
key = min(maxKey, len(ol_id) - 38)
|
||||
t = ol_id[key:key + 36]
|
||||
|
||||
hashMap = {}
|
||||
v = ol_id.replace(t, '')
|
||||
|
@ -110,7 +110,7 @@ class OpenloadIE(InfoExtractor):
|
|||
elif H % 2 == 0 and H != 0 and ord(v[H - 1]) < 60:
|
||||
i = int(C, 10)
|
||||
h += 1
|
||||
index = H % 8
|
||||
index = H % 12
|
||||
|
||||
A = hashMap[index]
|
||||
i ^= 213
|
||||
|
|
Loading…
Reference in a new issue