fix per speedvideo

This commit is contained in:
greko
2019-06-03 23:17:28 +02:00
parent 06ce82727e
commit a72856165a
3 changed files with 17 additions and 13 deletions
+2
View File
@@ -53,6 +53,8 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
from lib import unshortenit
data, status = unshortenit.unshorten(url)
logger.info("Data - Status zcrypt linkup : [%s] [%s] " %(data, status))
if '/speedx/' in data: # aggiunto per server speedvideo
data = data.replace('http://linkup.pro/speedx', 'http://speedvideo.net')
# fix by greko fine
else:
data = ""