fix altadefinizione01 e filmpertutti
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
"fastsubita": "https://fastsubita.online",
|
||||
"filmgratis": "https://www.filmaltadefinizione.tv",
|
||||
"filmigratis": "https://filmigratis.org",
|
||||
"filmpertutti": "https://www.filmpertutti.site",
|
||||
"filmsenzalimiticc": "https://www.filmsenzalimiti01.casa",
|
||||
"filmstreaming01": "https://filmstreaming01.com",
|
||||
"guardaseriecam": "https://guardaserie.cam",
|
||||
|
||||
@@ -20,7 +20,7 @@ from platformcode import config, logger
|
||||
#impostati dinamicamente da 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="([^"]+)"')
|
||||
return host
|
||||
|
||||
|
||||
@@ -12,8 +12,6 @@ host = config.get_channel_url()
|
||||
headers = [['Referer', host]]
|
||||
|
||||
|
||||
|
||||
|
||||
# =========== home menu ===================
|
||||
@support.menu
|
||||
def mainlist(item):
|
||||
|
||||
@@ -3,18 +3,16 @@
|
||||
# Canale per filmpertutti.py
|
||||
# ------------------------------------------------------------
|
||||
|
||||
import re
|
||||
|
||||
from core import scrapertools, httptools, support
|
||||
from core import httptools, support
|
||||
from core.item import Item
|
||||
from platformcode import config
|
||||
|
||||
def findhost():
|
||||
page = httptools.downloadpage("https://filmpertutti.nuovo.live/").data
|
||||
url = scrapertools.find_single_match(page, 'Il nuovo indirizzo di FILMPERTUTTI è <a href="([^"]+)')
|
||||
return url
|
||||
# def findhost():
|
||||
# page = httptools.downloadpage("https://filmpertutti.nuovo.live/").data
|
||||
# url = scrapertools.find_single_match(page, 'Il nuovo indirizzo di FILMPERTUTTI è <a href="([^"]+)')
|
||||
# return url
|
||||
|
||||
host = config.get_channel_url(findhost)
|
||||
host = config.get_channel_url()
|
||||
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)
|
||||
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'
|
||||
entries = 'https://api.one.accedo.tv/content/entries?id={id}&locale=it'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user