From 2beb9bace0815b67ea588d8afc7c051e8d464bd7 Mon Sep 17 00:00:00 2001 From: Alhaziel <46535975+lozioangie@users.noreply.github.com> Date: Mon, 12 Aug 2019 22:41:59 +0200 Subject: [PATCH] Fix SerieHD --- channels/seriehd.py | 28 +++++++++++++--------------- core/support.py | 2 +- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/channels/seriehd.py b/channels/seriehd.py index fe4b41e1..e3cc5344 100644 --- a/channels/seriehd.py +++ b/channels/seriehd.py @@ -8,18 +8,19 @@ from core import scrapertoolsV2, httptools, support from core.item import Item -__channel__ = "seriehd" +__channel__ = 'seriehd' # host = support.config.get_channel_url(__channel__) #impostati dinamicamente da findhost() -host = "" -headers = "" +host = '' +headers = '' def findhost(): - data= support.httptools.downloadpage('https://seriehd.nuovo.link/').data + data= httptools.downloadpage('https://seriehd.nuovo.link/').data global host, headers - host = support.scrapertoolsV2.find_single_match(data, r'