On ajoute l'url problématique

This commit is contained in:
Jean-Marie Favreau 2024-12-06 11:28:20 +01:00
parent c857294345
commit b3cba9293c

View File

@ -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("<!-- " + self.url + " -->\n\n")
text_file.write(content)