From 917c9f4c847ef143ed17ed216dca312d30c40138 Mon Sep 17 00:00:00 2001 From: mac12m99 <10120390+mac12m99@users.noreply.github.com> Date: Tue, 17 Aug 2021 17:08:03 +0200 Subject: [PATCH] Fix altadefinizionecommunity -> ricerca --- channels/altadefinizionecommunity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/altadefinizionecommunity.py b/channels/altadefinizionecommunity.py index b4d4e92f..5fb3fb84 100644 --- a/channels/altadefinizionecommunity.py +++ b/channels/altadefinizionecommunity.py @@ -139,7 +139,8 @@ def peliculas(item): json = support.httptools.downloadpage(item.url, headers=headers, cloudscraper=True).json data = "\n".join(json['data']) else: - data = support.httptools.downloadpage(item.url, headers=headers, cloudscraper=True).data + json = support.httptools.downloadpage(item.url, headers=headers, cloudscraper=True).json + data = "\n".join(json['data']) patron = r'wrapFilm">\s*\s*(?P[0-9]{4})\s*]+>[^<]+\s*(?P[^<]+).*?]+>\s*

(?P[^<[]+)(?:\[(?P<lang>[sSuUbBiItTaA-]+))?' # paginazione @@ -156,7 +157,6 @@ def peliculas(item): def search(item, texto): support.info("search ", texto) - # support.dbg() item.args = 'search' item.url = host + "/search?s={}&page=1".format(texto)