From 51042bf9df51c1346e0b73ef2208935b8b2d0052 Mon Sep 17 00:00:00 2001
From: marco <10120390+mac12m99@users.noreply.github.com>
Date: Sun, 18 Sep 2022 14:52:57 +0200
Subject: [PATCH] Fix ricerca discoveryplus e filmpertutti, aggiornamento
episodi eurostreaming
---
channels/casacinema.py | 1 -
channels/discoveryplus.py | 2 +-
channels/eurostreaming.py | 2 +-
channels/filmpertutti.py | 2 +-
channels/hd4me.py | 2 +-
5 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/channels/casacinema.py b/channels/casacinema.py
index 1c3b06b3..466acd94 100644
--- a/channels/casacinema.py
+++ b/channels/casacinema.py
@@ -14,7 +14,6 @@ headers = [['Referer', host]]
def mainlist(item):
film = ['/category/film',
('Generi', ['', 'genres', 'genres']),
- ('Sub-ITA', ['/category/sub-ita/', 'peliculas', 'sub'])
]
tvshow = ['/category/serie-tv',
diff --git a/channels/discoveryplus.py b/channels/discoveryplus.py
index 91433107..f4537c2b 100644
--- a/channels/discoveryplus.py
+++ b/channels/discoveryplus.py
@@ -126,7 +126,7 @@ def peliculas(item):
itemlist =[]
if item.text:
- data = session.get('{}/cms/routes/search/result?include=default&contentFilter[query]={}').json()['included']
+ data = session.get('{}/cms/routes/search/result?include=default&contentFilter[query]={}'.format(domain, item.text)).json()['included']
else:
data = session.get('{}/cms/collections/{}?include=default'.format(domain, item.id)).json()['included']
diff --git a/channels/eurostreaming.py b/channels/eurostreaming.py
index d565123f..36cbb31b 100644
--- a/channels/eurostreaming.py
+++ b/channels/eurostreaming.py
@@ -20,7 +20,7 @@ def mainlist(item):
support.info()
tvshow = []
anime = ['/category/anime-cartoni-animati/']
- mix = [('Aggiornamenti {bullet bold} {TV}', ['/aggiornamento-nuovi-episodi/', 'peliculas', 'newest']),
+ mix = [('Aggiornamenti {bullet bold} {TV}', ['/aggiornamento-episodi-nuovi/', 'peliculas', 'newest']),
('Archivio {bullet bold} {TV}', ['/category/serie-tv-archive/', 'peliculas'])]
search = ''
diff --git a/channels/filmpertutti.py b/channels/filmpertutti.py
index c51301c4..0ab7792c 100644
--- a/channels/filmpertutti.py
+++ b/channels/filmpertutti.py
@@ -113,7 +113,7 @@ def check(item):
def search(item, texto):
support.info()
- item.url = host + "/?s=" + texto
+ item.url = host + "/search/" + texto
item.args = 'search'
try:
return peliculas(item)
diff --git a/channels/hd4me.py b/channels/hd4me.py
index a5b49b4e..7c6f9c40 100644
--- a/channels/hd4me.py
+++ b/channels/hd4me.py
@@ -25,7 +25,7 @@ def peliculas(item):
pagination = ''
patron = r'[^"]+)'
else:
- patron = r'[^"]+)'
+ patron = r'\d+)\)\s(?:[^\]]+\])?\D+(?P\d+p).{3}(?P[^ ]+).*?
[^"]+)'
patronNext = r'current(?:[^>]*>){2}\s*