Update powvideo.py

This commit is contained in:
Intel1
2018-06-09 16:18:25 -05:00
committed by GitHub
parent bccfcc96ba
commit 55e9cc19e2

View File

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