Fix support title

This commit is contained in:
Alhaziel01
2020-04-11 19:53:30 +02:00
parent e9eecd7892
commit fbb8744558

View File

@@ -165,6 +165,7 @@ def scrapeLang(scraped, lang, longtitle):
def cleantitle(title):
if type(title) != str: title.decode('UTF-8')
title = scrapertools.decodeHtmlentities(title)
cleantitle = title.replace('"', "'").replace('×', 'x').replace('', '-').strip()
return cleantitle