Commit a7f4ea9a authored by Eric Duminil's avatar Eric Duminil
Browse files

TODO

parent 66d66e7d
...@@ -24,6 +24,7 @@ def parse_atom_georss(bundesland: Bundesland) -> list[ZipFile]: ...@@ -24,6 +24,7 @@ def parse_atom_georss(bundesland: Bundesland) -> list[ZipFile]:
source_date = datetime.strptime(updated_date, "%Y-%m-%dT%H:%M:%SZ") source_date = datetime.strptime(updated_date, "%Y-%m-%dT%H:%M:%SZ")
for file_elem in root.findall("atom:entry/atom:link", ns): for file_elem in root.findall("atom:entry/atom:link", ns):
href = file_elem.attrib["href"] href = file_elem.attrib["href"]
# TODO: Check if source_date is specified for each ZipFile
if href.endswith(".zip"): if href.endswith(".zip"):
zip_files.append( zip_files.append(
ZipFile( ZipFile(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment