From a0a30bd8aac17d477ad41a0fcacd55e66f0a56fe Mon Sep 17 00:00:00 2001 From: greko17 Date: Mon, 16 Sep 2019 01:55:14 +0200 Subject: [PATCH] fix: per standardizzare gli host senza / alla fine --- channels.json | 4 ++-- core/support.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/channels.json b/channels.json index 19e4eaae..8012008b 100644 --- a/channels.json +++ b/channels.json @@ -39,7 +39,7 @@ "italiaserie": "https://italiaserie.org", "itastreaming": "https://itastreaming.film", "mondolunatico": "http://mondolunatico.org", - "mondolunatico2": "http://mondolunatico.org/stream/", + "mondolunatico2": "https://mondolunatico.org/stream", "mondoserietv": "https://mondoserietv.com", "piratestreaming": "https://www.piratestreaming.media", "seriehd": "https://www.seriehd.zone", @@ -51,4 +51,4 @@ "tantifilm": "https://www.tantifilm.eu", "toonitalia": "https://toonitalia.org", "vedohd": "https://vedohd.icu/" -} \ No newline at end of file +} diff --git a/core/support.py b/core/support.py index 398a9302..647319a9 100644 --- a/core/support.py +++ b/core/support.py @@ -471,7 +471,7 @@ def dooplay_get_links(item, host): "nume": nume, "type": type }) - dataAdmin = httptools.downloadpage(host + 'wp-admin/admin-ajax.php', post=postData,headers={'Referer': item.url}).data + dataAdmin = httptools.downloadpage(host + '/wp-admin/admin-ajax.php', post=postData,headers={'Referer': item.url}).data link = scrapertoolsV2.find_single_match(dataAdmin, "