Cambio Indirizzo CB01
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
"casacinema": "https://www.casacinema.uno",
|
"casacinema": "https://www.casacinema.uno",
|
||||||
"casacinemainfo": "https://www.casacinema.info",
|
"casacinemainfo": "https://www.casacinema.info",
|
||||||
"cb01anime": "https://www.cineblog01.ink",
|
"cb01anime": "https://www.cineblog01.ink",
|
||||||
|
"cineblog01": "https://www.cb01.uno",
|
||||||
"cinemalibero": "https://www.cinemalibero.best",
|
"cinemalibero": "https://www.cinemalibero.best",
|
||||||
"documentaristreamingda": "https://documentari-streaming-da.com",
|
"documentaristreamingda": "https://documentari-streaming-da.com",
|
||||||
"dreamsub": "https://www.dreamsub.stream",
|
"dreamsub": "https://www.dreamsub.stream",
|
||||||
|
|||||||
@@ -10,16 +10,11 @@ from core.item import Item
|
|||||||
from lib import unshortenit
|
from lib import unshortenit
|
||||||
from platformcode import logger, config
|
from platformcode import logger, config
|
||||||
|
|
||||||
#impostati dinamicamente da findhost()
|
|
||||||
host = ""
|
|
||||||
headers = ""
|
|
||||||
|
|
||||||
|
__channel__ = "cineblog01"
|
||||||
|
host = config.get_channel_url(__channel__)
|
||||||
|
headers = [['Referer', host]]
|
||||||
|
|
||||||
def findhost():
|
|
||||||
global host, headers
|
|
||||||
permUrl = httptools.downloadpage('https://www.cb01.uno/', follow_redirects=False).headers
|
|
||||||
host = 'https://www.'+permUrl['location'].replace('https://www.google.it/search?q=site:', '')
|
|
||||||
headers = [['Referer', host]]
|
|
||||||
|
|
||||||
list_servers = ['verystream', 'openload', 'streamango', 'wstream']
|
list_servers = ['verystream', 'openload', 'streamango', 'wstream']
|
||||||
list_quality = ['HD', 'SD', 'default']
|
list_quality = ['HD', 'SD', 'default']
|
||||||
@@ -35,7 +30,6 @@ blacklist = ['BENVENUTI', 'Richieste Serie TV', 'CB01.UNO ▶ TROVA L’
|
|||||||
|
|
||||||
@support.menu
|
@support.menu
|
||||||
def mainlist(item):
|
def mainlist(item):
|
||||||
findhost()
|
|
||||||
film = [
|
film = [
|
||||||
('HD', ['', 'menu', 'Film HD Streaming']),
|
('HD', ['', 'menu', 'Film HD Streaming']),
|
||||||
('Generi', ['', 'menu', 'Film per Genere']),
|
('Generi', ['', 'menu', 'Film per Genere']),
|
||||||
@@ -53,7 +47,6 @@ def mainlist(item):
|
|||||||
|
|
||||||
@support.scrape
|
@support.scrape
|
||||||
def menu(item):
|
def menu(item):
|
||||||
findhost()
|
|
||||||
patronBlock = item.args + r'<span.*?><\/span>.*?<ul.*?>(?P<block>.*?)<\/ul>'
|
patronBlock = item.args + r'<span.*?><\/span>.*?<ul.*?>(?P<block>.*?)<\/ul>'
|
||||||
patronMenu = r'href="?(?P<url>[^">]+)"?>(?P<title>.*?)<\/a>'
|
patronMenu = r'href="?(?P<url>[^">]+)"?>(?P<title>.*?)<\/a>'
|
||||||
action = 'peliculas'
|
action = 'peliculas'
|
||||||
@@ -63,7 +56,6 @@ def menu(item):
|
|||||||
|
|
||||||
@support.scrape
|
@support.scrape
|
||||||
def newest(categoria):
|
def newest(categoria):
|
||||||
findhost()
|
|
||||||
if type(categoria) != Item:
|
if type(categoria) != Item:
|
||||||
item = Item()
|
item = Item()
|
||||||
item.contentType = 'movie'
|
item.contentType = 'movie'
|
||||||
@@ -119,7 +111,6 @@ def episodios(item):
|
|||||||
|
|
||||||
|
|
||||||
def findvideos(item):
|
def findvideos(item):
|
||||||
findhost()
|
|
||||||
|
|
||||||
if item.contentType == "episode":
|
if item.contentType == "episode":
|
||||||
return findvid_serie(item)
|
return findvid_serie(item)
|
||||||
|
|||||||
Reference in New Issue
Block a user