Pulizia Titoli

This commit is contained in:
Alhaziel01
2021-05-31 20:06:57 +02:00
parent c8a3a8496a
commit 413cf4576b

View File

@@ -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