From 68229bef38d547d8b955be3a9cdaea8efeacbf34 Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 6 Dec 2019 23:44:03 +0100 Subject: [PATCH] test no findhost() --- channels/altadefinizione01.py | 11 ++++++----- channels/casacinemaInfo.py | 15 ++++++++------- channels/cineblog01.py | 23 ++++++++++++----------- channels/eurostreaming.py | 11 ++++++----- channels/seriehd.py | 13 +++++++------ channels/serietvonline.py | 11 ++++++----- channels/tantifilm.py | 15 ++++++++------- 7 files changed, 53 insertions(+), 46 deletions(-) diff --git a/channels/altadefinizione01.py b/channels/altadefinizione01.py index be01b78f..ea96dc4d 100644 --- a/channels/altadefinizione01.py +++ b/channels/altadefinizione01.py @@ -18,14 +18,15 @@ from core.item import Item from platformcode import config, logger #impostati dinamicamente da findhost() -host = "" +host = "https://www.altadefinizione01.cc" headers = "" def findhost(): - global host, headers - data = httptools.downloadpage('https://altadefinizione01-nuovo.link/').data - host = scrapertoolsV2.find_single_match(data, '