From 06ce82727e8d5f882d4cb28baca6dd6e3b936d2a Mon Sep 17 00:00:00 2001 From: greko Date: Mon, 3 Jun 2019 20:02:54 +0200 Subject: [PATCH] fix title2 cleahtml --- core/support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/support.py b/core/support.py index 300a6192..6ab4649a 100644 --- a/core/support.py +++ b/core/support.py @@ -174,7 +174,7 @@ def scrape(item, patron = '', listGroups = [], headers="", blacklist="", data="" scraped['episode'] = re.sub(r'\s-\s|-|x|–', 'x' , scraped['episode']) longtitle = typo(scraped['episode'] + ' - ', 'bold') + longtitle if scraped['title2']: - title2 = scrapertoolsV2.decodeHtmlentities(scraped["title2"]).replace('"', "'").strip() + title2 = scrapertoolsV2.htmlclean(scrapertoolsV2.decodeHtmlentities(scraped["title2"])).replace('"', "'").strip() longtitle = longtitle + typo(title2, 'bold _ -- _') ## Aggiunto/modificato per gestire i siti che hanno i video