fix casacinemaInfo

This commit is contained in:
marco
2020-01-07 23:08:25 +01:00
parent 4eb615560f
commit 55fff914e1
4 changed files with 11 additions and 11 deletions
+8 -8
View File
@@ -23,14 +23,14 @@ from core import scrapertools, httptools
from core.item import Item
def findhost():
data = httptools.downloadpage('https://casacinema.nuovo.link').data
host = scrapertools.find_single_match(data, r'<div class="elementor-widget-container"><div class="elementor-button-wrapper"> <a href="([^"]+)"')
if host.endswith('/'):
host = host[:-1]
return host
# def findhost():
# data = httptools.downloadpage('https://casacinema.nuovo.link').data
# host = scrapertools.find_single_match(data, r'<div class="elementor-widget-container"><div class="elementor-button-wrapper"> <a href="([^"]+)"')
# if host.endswith('/'):
# host = host[:-1]
# return host
host = support.config.get_channel_url(findhost)
host = support.config.get_channel_url()
headers = [['Referer', host]]
list_servers = ['supervideo', 'streamcherry','rapidvideo', 'streamango', 'openload']
@@ -67,7 +67,7 @@ def peliculas(item):
patronNext = '<a href="([^"]+)"\s+?><i class="glyphicon glyphicon-chevron-right"'
#support.regexDbg(item, patronBlock, headers)
#debug = True
# debug = True
return locals()