From 413cf4576b6dc7558359a8853b65fc2fe55a5574 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Mon, 31 May 2021 20:06:57 +0200 Subject: [PATCH] Pulizia Titoli --- core/support.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/support.py b/core/support.py index 6ce0cdc9..576b8567 100755 --- a/core/support.py +++ b/core/support.py @@ -151,6 +151,7 @@ def cleantitle(title): cleantitle = '' if title: if type(title) != str: title.decode('UTF-8') + title = scrapertools.unescape(title) title = scrapertools.decodeHtmlentities(title) cleantitle = title.replace('"', "'").replace('×', 'x').replace('–', '-').strip() return cleantitle