On intègre les nouvelles catégories aux outils d'import

This commit is contained in:
Jean-Marie Favreau
2024-11-02 15:20:12 +01:00
parent 40ce9a9cba
commit 4186b70e7e
11 changed files with 78 additions and 40 deletions

View File

@@ -33,7 +33,7 @@ if __name__ == "__main__":
url_human = "https://www.lacoope.org/concerts-calendrier/"
try:
events = u2e.process(url, url_human, cache = "cache-lacoope.html", default_values = {"category": "Concert", "location": "La Coopérative"}, published = True)
events = u2e.process(url, url_human, cache = "cache-lacoope.html", default_values = {"category": "Fêtes & Concerts", "location": "La Coopérative"}, published = True)
exportfile = "events-lacoope.json"
print("Saving events to file {}".format(exportfile))