Código: Seleccionar todo
--- openload.py (revision )
+++ openload.py (revision )
@@ -52,7 +52,8 @@
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)\);')
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 = ""
for encode in var_encodes:
text_decode = ""
@@ -81,11 +82,12 @@
if value3 < index1:
break
- value4 = value2 ^ decode1[j % (mult / 8)] ^ int(idparse,8)
- for n in numeros:
- if not n.isdigit():
- n = int(n, 16)
- value4 ^= int(n)
+ # value4 = value2 ^ decode1[j % (mult / 8)] ^ int(idparse,8)
+ # for n in numeros:
+ # if not n.isdigit():
+ # n = int(n, 16)
+ # value4 ^= int(n)
+ value4 = value2 ^ decode1[(j % 9)] ^ (int(idparse, 8) - int(rangos) + 4) / (int(rangos2) - 8) ^ int(hexparse, 8)
value5 = index1 * 2 + 127
for h in range(4):
valorfinal = (value4 >> 8 * h) & (value5)
Código: Seleccionar todo
===================================================================
--- streamplay.py (revision )
+++ streamplay.py (revision )
@@ -32,9 +32,11 @@
data = scrapertools.find_single_match(data.replace('"', "'"), "sources\s*=[^\[]*\[([^\]]+)\]")
matches = scrapertools.find_multiple_matches(data, "[src|file]:'([^']+)'")
-
+ if (len(matches) == 0):
+ matches = scrapertools.find_multiple_matches(data, "[^',]+")
video_urls = []
for video_url in matches:
+ if(video_url.endswith(".mpd")): continue
_hash = scrapertools.find_single_match(video_url, '[A-z0-9\_\-]{40,}')
logger.info("entro")
hash = _hash[::-1]