Actualiser src/agenda_culturel/import_tasks/custom_extractors/lacomedie.py #261

Merged
jmtrivial merged 3 commits from correction-script-import-comedie into main 2024-12-27 16:04:14 +01:00
Showing only changes of commit 3367876053 - Show all commits

View File

@ -109,7 +109,7 @@ class CExtractor(TwoStepsExtractor):
# on ajoute éventuellement les informations complémentaires
d_suite = ""
for d in ["typedesc", "dureedesc", "lieuspec"]:
for d in ["typedesc", "dureedesc", "lieuspec","dureespec","typespec","uncontdroite","datespec"]:
comp_desc = soup.select("#" + d)
if comp_desc and len(comp_desc) > 0:
d_suite += "\n\n" + comp_desc[0].get_text()