fix altadefinizione01 e filmpertutti
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
"fastsubita": "https://fastsubita.online",
|
"fastsubita": "https://fastsubita.online",
|
||||||
"filmgratis": "https://www.filmaltadefinizione.tv",
|
"filmgratis": "https://www.filmaltadefinizione.tv",
|
||||||
"filmigratis": "https://filmigratis.org",
|
"filmigratis": "https://filmigratis.org",
|
||||||
|
"filmpertutti": "https://www.filmpertutti.site",
|
||||||
"filmsenzalimiticc": "https://www.filmsenzalimiti01.casa",
|
"filmsenzalimiticc": "https://www.filmsenzalimiti01.casa",
|
||||||
"filmstreaming01": "https://filmstreaming01.com",
|
"filmstreaming01": "https://filmstreaming01.com",
|
||||||
"guardaseriecam": "https://guardaserie.cam",
|
"guardaseriecam": "https://guardaserie.cam",
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ from platformcode import config, logger
|
|||||||
#impostati dinamicamente da findhost()
|
#impostati dinamicamente da findhost()
|
||||||
|
|
||||||
def findhost():
|
def findhost():
|
||||||
data = httptools.downloadpage('https://altadefinizione01-nuovo.link/').data
|
data = httptools.downloadpage('https://altadefinizione01-nuovo.info/').data
|
||||||
host = scrapertools.find_single_match(data, '<div class="elementor-button-wrapper"> <a href="([^"]+)"')
|
host = scrapertools.find_single_match(data, '<div class="elementor-button-wrapper"> <a href="([^"]+)"')
|
||||||
return host
|
return host
|
||||||
|
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ host = config.get_channel_url()
|
|||||||
headers = [['Referer', host]]
|
headers = [['Referer', host]]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# =========== home menu ===================
|
# =========== home menu ===================
|
||||||
@support.menu
|
@support.menu
|
||||||
def mainlist(item):
|
def mainlist(item):
|
||||||
|
|||||||
@@ -3,18 +3,16 @@
|
|||||||
# Canale per filmpertutti.py
|
# Canale per filmpertutti.py
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
import re
|
from core import httptools, support
|
||||||
|
|
||||||
from core import scrapertools, httptools, support
|
|
||||||
from core.item import Item
|
from core.item import Item
|
||||||
from platformcode import config
|
from platformcode import config
|
||||||
|
|
||||||
def findhost():
|
# def findhost():
|
||||||
page = httptools.downloadpage("https://filmpertutti.nuovo.live/").data
|
# page = httptools.downloadpage("https://filmpertutti.nuovo.live/").data
|
||||||
url = scrapertools.find_single_match(page, 'Il nuovo indirizzo di FILMPERTUTTI è <a href="([^"]+)')
|
# url = scrapertools.find_single_match(page, 'Il nuovo indirizzo di FILMPERTUTTI è <a href="([^"]+)')
|
||||||
return url
|
# return url
|
||||||
|
|
||||||
host = config.get_channel_url(findhost)
|
host = config.get_channel_url()
|
||||||
headers = [['Referer', host]]
|
headers = [['Referer', host]]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ cwid=res.json()['response']['cwId']
|
|||||||
res = current_session.get("https://api.one.accedo.tv/session?appKey=59ad346f1de1c4000dfd09c5&uuid=sdd",verify=False)
|
res = current_session.get("https://api.one.accedo.tv/session?appKey=59ad346f1de1c4000dfd09c5&uuid=sdd",verify=False)
|
||||||
current_session.headers.update({'x-session': res.json()['sessionKey']})
|
current_session.headers.update({'x-session': res.json()['sessionKey']})
|
||||||
|
|
||||||
host = ''
|
host = 'https://www.mediasetplay.mediaset.it/'
|
||||||
entry = 'https://api.one.accedo.tv/content/entry/{id}?locale=it'
|
entry = 'https://api.one.accedo.tv/content/entry/{id}?locale=it'
|
||||||
entries = 'https://api.one.accedo.tv/content/entries?id={id}&locale=it'
|
entries = 'https://api.one.accedo.tv/content/entries?id={id}&locale=it'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user