On corrige les lieux (décodage) pour les amis du temps des cerises
This commit is contained in:
parent
ad089b87ba
commit
14ab8627c3
@ -32,13 +32,13 @@ class CExtractor(Extractor):
|
||||
tags = []
|
||||
start_day = e["ev_date"].split(' ')[0]
|
||||
start_time = e["ev_time"]
|
||||
title = html.unescape(e["ev_titre"]) # TODO: décoder
|
||||
title = html.unescape(e["ev_titre"])
|
||||
if "ev_sstitre" in e and e["ev_sstitre"] != '':
|
||||
title = title + ' - ' + html.unescape(e["ev_sstitre"])
|
||||
|
||||
soup = BeautifulSoup(e["ev_info"], "html.parser")
|
||||
description = soup.text
|
||||
location = e["li_nom"] if "li_nom" in e else None
|
||||
location = html.unescape(e["li_nom"]) if "li_nom" in e else None
|
||||
if "ev_canceled" in e and e["ev_canceled"] != '0':
|
||||
tags += ["annulé"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user