mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 11:22:58 +08:00
space idents
This commit is contained in:
parent
949054c0ba
commit
dcb70de3a8
@ -88,21 +88,21 @@ class OpenloadIE(InfoExtractor):
|
||||
h = 0
|
||||
|
||||
while h < len(t):
|
||||
f = t[h:h + 2]
|
||||
i = int(f, 16)
|
||||
hashMap[h / 2] = i
|
||||
h += 2
|
||||
f = t[h:h + 2]
|
||||
i = int(f, 16)
|
||||
hashMap[h / 2] = i
|
||||
h += 2
|
||||
|
||||
h = 0
|
||||
|
||||
while h < len(v):
|
||||
B = v[h:h + 2]
|
||||
i = int(B, 16)
|
||||
index = (h / 2) % 6
|
||||
A = hashMap[index]
|
||||
i = i ^ A
|
||||
video_url_chars.append(compat_chr(i))
|
||||
h += 2
|
||||
B = v[h:h + 2]
|
||||
i = int(B, 16)
|
||||
index = (h / 2) % 6
|
||||
A = hashMap[index]
|
||||
i = i ^ A
|
||||
video_url_chars.append(compat_chr(i))
|
||||
h += 2
|
||||
|
||||
video_url = 'https://openload.co/stream/%s?mime=true'
|
||||
video_url = video_url % (''.join(video_url_chars))
|
||||
|
Loading…
Reference in New Issue
Block a user