Update openload.py
This commit is contained in:
@@ -52,7 +52,8 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
|
|||||||
numeros = scrapertools.find_single_match(data, '_[A-f0-9]+x[A-f0-9]+\s*(?:=|\^)\s*([0-9]{4,}|0x[A-f0-9]{4,})')
|
numeros = scrapertools.find_single_match(data, '_[A-f0-9]+x[A-f0-9]+\s*(?:=|\^)\s*([0-9]{4,}|0x[A-f0-9]{4,})')
|
||||||
op1, op2 = scrapertools.find_single_match(data, '\(0x(\d),0x(\d)\);')
|
op1, op2 = scrapertools.find_single_match(data, '\(0x(\d),0x(\d)\);')
|
||||||
idparse, hexparse = scrapertools.find_multiple_matches(data, "parseInt\('([0-9]+)'")
|
idparse, hexparse = scrapertools.find_multiple_matches(data, "parseInt\('([0-9]+)'")
|
||||||
numeros = [numeros, str(int(hexparse, 8))]
|
# numeros = [numeros, str(int(hexparse, 8))]
|
||||||
|
rangos, rangos2 = scrapertools.find_single_match(data, "\)-([0-9]+).0x4\)/\(([0-9]+)")
|
||||||
videourl = ""
|
videourl = ""
|
||||||
for encode in var_encodes:
|
for encode in var_encodes:
|
||||||
text_decode = ""
|
text_decode = ""
|
||||||
@@ -81,11 +82,12 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
|
|||||||
if value3 < index1:
|
if value3 < index1:
|
||||||
break
|
break
|
||||||
|
|
||||||
value4 = value2 ^ decode1[j % (mult / 8)] ^ int(idparse,8)
|
# value4 = value2 ^ decode1[j % (mult / 8)] ^ int(idparse,8)
|
||||||
for n in numeros:
|
# for n in numeros:
|
||||||
if not n.isdigit():
|
# if not n.isdigit():
|
||||||
n = int(n, 16)
|
# n = int(n, 16)
|
||||||
value4 ^= int(n)
|
# value4 ^= int(n)
|
||||||
|
value4 = value2 ^ decode1[(j % 9)] ^ (int(idparse, 8) - int(rangos) + 4) / (int(rangos2) - 8) ^ int(hexparse, 8)
|
||||||
value5 = index1 * 2 + 127
|
value5 = index1 * 2 + 127
|
||||||
for h in range(4):
|
for h in range(4):
|
||||||
valorfinal = (value4 >> 8 * h) & (value5)
|
valorfinal = (value4 >> 8 * h) & (value5)
|
||||||
|
|||||||
Reference in New Issue
Block a user