aggiunto bit.ly (#56)

* aggiunto bit.ly
This commit is contained in:
greko
2019-06-28 19:38:20 +02:00
committed by mac12m99
parent 4249c242ae
commit 1950aabbd3

View File

@@ -44,7 +44,7 @@ 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 vcrypt.net: [%s] [%s] " %(data, status))
elif 'linkup' in url:
elif 'linkup' in url or 'bit.ly' in url:
idata = httptools.downloadpage(url).data
data = scrapertoolsV2.find_single_match(idata, "<iframe[^<>]*src=\\'([^'>]*)\\'[^<>]*>")
#fix by greko inizio