On prend en compte la catégorie choisie

This commit is contained in:
Jean-Marie Favreau 2024-08-17 14:26:52 +02:00
parent 0d0e27912e
commit 8f9415748d

View File

@ -232,7 +232,11 @@ class FacebookEventExtractor(Extractor):
event = fevent.build_event(url)
logger.warning("published: " + str(published))
event["published"] = published
if "category" in default_values:
event["category"] = default_values["category"]
self.add_event(**event)
return self.get_structure()
return None