From 1da3262bec60fd16f5ade66bd679b2329cd9cb42 Mon Sep 17 00:00:00 2001 From: marco Date: Mon, 4 May 2020 20:14:08 +0200 Subject: [PATCH] Revert "test wayback machine per bypass CF" This reverts commit 5ec80daa --- channels.json | 2 +- channels/guardaserieclick.py | 8 +------- core/httptools.py | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/channels.json b/channels.json index c678ee9d..31de0182 100644 --- a/channels.json +++ b/channels.json @@ -24,7 +24,7 @@ "filmsenzalimiticc": "https://www.filmsenzalimiti.estate", "filmstreaming01": "https://filmstreaming01.com", "guardaserie_stream": "https://guardaserie.store", - "guardaserieclick": "https://web.archive.org/save/www.guardaserie.band", + "guardaserieclick": "https://www.guardaserie.productions", "hd4me": "https://hd4me.net", "ilgeniodellostreaming": "https://ilgeniodellostreaming.tk", "italiaserie": "https://italiaserie.org", diff --git a/channels/guardaserieclick.py b/channels/guardaserieclick.py index 756808ef..99380efd 100644 --- a/channels/guardaserieclick.py +++ b/channels/guardaserieclick.py @@ -118,13 +118,7 @@ def peliculas(item): ## patron = r'\s[^"]+)"\s/>[^>]+>[^>]+>\s[^>]+>\s(?P\d{4})?\s.+?class="strongText">(?P.+?)<' ## pagination = 25 #support.regexDbg(item, patronBlock, headers) - # debug = True - - def itemHook(item): - item.url = 'https://web.archive.org' + item.url - item.thumbnail = 'https://web.archive.org' + item.thumbnail - - return item + #debug = True return locals() diff --git a/core/httptools.py b/core/httptools.py index 264a7248..6f1bde5c 100755 --- a/core/httptools.py +++ b/core/httptools.py @@ -42,7 +42,7 @@ if HTTPTOOLS_DEFAULT_DOWNLOAD_TIMEOUT == 0: HTTPTOOLS_DEFAULT_DOWNLOAD_TIMEOUT = HTTPTOOLS_DEFAULT_RANDOM_HEADERS = False domainCF = list() -channelsCF = ['casacinema', 'dreamsub', 'ilgeniodellostreaming', 'piratestreaming', 'altadefinizioneclick', 'altadefinizione01_link', 'cineblog01'] +channelsCF = ['guardaserieclick', 'casacinema', 'dreamsub', 'ilgeniodellostreaming', 'piratestreaming', 'altadefinizioneclick', 'altadefinizione01_link', 'cineblog01'] otherCF = ['altadefinizione-nuovo.link', 'wstream.video', 'akvideo.stream', 'backin.net', 'vcrypt.net'] for ch in channelsCF: domainCF.append(urlparse.urlparse(config.get_channel_url(name=ch)).hostname)