From a7458f1597b50c89594c112d607c03d1c449b969 Mon Sep 17 00:00:00 2001 From: Alhaziel <46535975+lozioangie@users.noreply.github.com> Date: Mon, 12 Aug 2019 17:15:37 +0200 Subject: [PATCH 1/2] Corretta traduzione --- resources/language/Italian/strings.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/language/Italian/strings.po b/resources/language/Italian/strings.po index 384fc710..cebf13ab 100644 --- a/resources/language/Italian/strings.po +++ b/resources/language/Italian/strings.po @@ -3231,7 +3231,7 @@ msgstr "Attivare Pagina iniziale" msgctxt "#70122" msgid "Custom (select from a channel)" -msgstr "Personalizato (selezionare da un canale)" +msgstr "Personalizzato (selezionare da un canale)" msgctxt "#70123" msgid "Show Recent" From da215ffb9d48bf3021df209f0f42eec65450589f Mon Sep 17 00:00:00 2001 From: Alhaziel <46535975+lozioangie@users.noreply.github.com> Date: Mon, 12 Aug 2019 17:44:03 +0200 Subject: [PATCH 2/2] SerieHD host impostato dinamicamente --- channels/seriehd.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/channels/seriehd.py b/channels/seriehd.py index faeefc9e..fe4b41e1 100644 --- a/channels/seriehd.py +++ b/channels/seriehd.py @@ -4,12 +4,22 @@ # ------------------------------------------------------------ -from core import support +from core import scrapertoolsV2, httptools, support from core.item import Item __channel__ = "seriehd" -host = support.config.get_channel_url(__channel__) +# host = support.config.get_channel_url(__channel__) + +#impostati dinamicamente da findhost() +host = "" +headers = "" + +def findhost(): + data= support.httptools.downloadpage('https://seriehd.nuovo.link/').data + global host, headers + host = support.scrapertoolsV2.find_single_match(data, r'