diff --git a/src/agenda_culturel/import_tasks/custom_extractors/fbevents.py b/src/agenda_culturel/import_tasks/custom_extractors/fbevents.py index ca74ec6..bf02a96 100644 --- a/src/agenda_culturel/import_tasks/custom_extractors/fbevents.py +++ b/src/agenda_culturel/import_tasks/custom_extractors/fbevents.py @@ -34,6 +34,7 @@ class CExtractor(TwoStepsExtractor): filename = directory + now.strftime("%Y%m%d_%H%M%S") + ".html" logger.warning("cannot find any event link in events page. Save content page in " + filename) with open(filename, "w") as text_file: + text_file.write("\n\n") text_file.write(content)