Update streamplay.py

This commit is contained in:
Intel1
2018-06-09 16:29:35 -05:00
committed by GitHub
parent 55e9cc19e2
commit feb169f116

View File

@@ -46,5 +46,5 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
def decode_video_url(url):
tria = re.compile('[0-9a-z]{40,}', re.IGNORECASE).findall(url)[0]
gira = tria[::-1]
x = gira[:2] + gira[3:]
x = gira[:3] + gira[4:]
return re.sub(tria, x, url)