From 092243fa99f54fa94fc448e724884823197ceb3b Mon Sep 17 00:00:00 2001 From: greko17 Date: Sat, 30 Nov 2019 15:07:41 +0100 Subject: [PATCH] fix: per turbovideo e deltabit --- servers/decrypters/zcrypt.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/servers/decrypters/zcrypt.py b/servers/decrypters/zcrypt.py index 8eedbbd8..82be492f 100644 --- a/servers/decrypters/zcrypt.py +++ b/servers/decrypters/zcrypt.py @@ -54,6 +54,11 @@ def get_video_url(page_url, premium=False, user="", password="", video_password= data, status = unshortenit.unshorten(url) logger.info("Data - Status zcrypt vcrypt.net: [%s] [%s] " %(data, status)) elif 'linkup' in url or 'bit.ly' in url: + logger.info("DATA LINK {}".format(url)) + if '/tv/' in url: + url = url.replace('/tv/','/tva/') + elif 'delta' in url: + url = url.replace('/delta/','/adelta/') if '/olink/' in url: continue else: idata = httptools.downloadpage(url).data @@ -67,7 +72,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password= data = httptools.downloadpage(data, follow_redirect=True).url if '/speedx/' in data: # aggiunto per server speedvideo data = data.replace('http://linkup.pro/speedx', 'http://speedvideo.net') - # fix by greko fine + # fix by greko fine else: data = "" while host in url: