miglioria mystream

This commit is contained in:
marco
2020-03-13 23:38:26 +01:00
parent c42dccbba7
commit e3fea0227f

View File

@@ -24,6 +24,11 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
video_urls = []
global page_data
dec = scrapertools.find_single_match(page_data, '(\$=~\[\];.*?\(\)\))\(\);')
# needed to increase recursion
import sys
sys.setrecursionlimit(10000)
deObfCode = js2py.eval_js(dec)
video_urls.append(['mp4 [mystream]', scrapertools.find_single_match(str(deObfCode), "'src',\s*'([^']+)")])
return video_urls