From 9b5dd9d3744974a264b4bb1acee5be34507f1eec Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 24 Sep 2020 15:40:25 +0200 Subject: [PATCH] alcuni fix --- channels.json | 2 +- channels/animesaturn.py | 89 +++++++++++--------------- {core => platformcode}/autorenumber.py | 0 platformcode/elementum_download.py | 4 +- platformcode/infoplus.py | 6 +- 5 files changed, 46 insertions(+), 55 deletions(-) rename {core => platformcode}/autorenumber.py (100%) diff --git a/channels.json b/channels.json index 14554c5e..f2556f4c 100644 --- a/channels.json +++ b/channels.json @@ -5,7 +5,7 @@ "animealtadefinizione": "https://www.animealtadefinizione.it", "animeforce": "https://ww1.animeforce.org", "animeleggendari": "https://animeora.com", - "animesaturn": "https://www.animesaturn.com", + "animesaturn": "https://www.animesaturn.it", "animestream": "https://www.animeworld.it", "animesubita": "http://www.animesubita.org", "animetubeita": "http://www.animetubeita.com", diff --git a/channels/animesaturn.py b/channels/animesaturn.py index 0a579549..da6dccdf 100644 --- a/channels/animesaturn.py +++ b/channels/animesaturn.py @@ -10,50 +10,12 @@ from platformcode import config host = support.config.get_channel_url() headers={'X-Requested-With': 'XMLHttpRequest'} -def get_data(item, head=[]): - global headers - jstr = '' - for h in head: - headers[h[0]] = h[1] - if not item.count: item.count = 0 - if not config.get_setting('key', item.channel): - matches = support.match(item, patron=r'