fix: per turbovideo e deltabit

This commit is contained in:
greko17
2019-11-30 15:07:41 +01:00
parent b7f7ffb3f0
commit 092243fa99
+5
View File
@@ -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