add support.py, new channel, casacinema new url and some cleanup

This commit is contained in:
mac12m99
2019-03-21 21:19:53 +01:00
parent cb864c74e4
commit 2110fa8088
23 changed files with 272 additions and 424 deletions
+1 -2
View File
@@ -27,8 +27,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
headers = [["User-Agent", "Mozilla/5.0 (Windows NT 6.1; rv:54.0) Gecko/20100101 Firefox/54.0"]]
# import web_pdb;
# web_pdb.set_trace()
# First access
httptools.downloadpage("http://backin.net/s/streams.php?s=%s" % page_url, headers=headers)
@@ -9,7 +9,7 @@ from platformcode import logger
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
# import web_pdb; web_pdb.set_trace()
encontrados = {
'https://vcrypt.net/images/logo', 'https://vcrypt.net/css/out',
'https://vcrypt.net/images/favicon', 'https://vcrypt.net/css/open',
@@ -76,7 +76,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
url = rdata.url
if "wstream" in url:
# import web_pdb; web_pdb.set_trace()
url = url.replace("/video/", "/")
data = url