|
@@ -17,6 +17,8 @@ from unfccc_ghg_data.unfccc_downloader import (
|
|
|
get_unfccc_submission_info,
|
|
|
)
|
|
|
|
|
|
+
|
|
|
+
|
|
|
if __name__ == "__main__":
|
|
|
max_tries = 10
|
|
|
|
|
@@ -81,7 +83,12 @@ if __name__ == "__main__":
|
|
|
href = "https://unfccc.int" + href
|
|
|
elif href.startswith("documents"):
|
|
|
href = "https://unfccc.int/" + href
|
|
|
+ if href.startswith("/node"):
|
|
|
+ href = "https://unfccc.int" + href
|
|
|
+ if href.startswith("/NODE"):
|
|
|
+ href = "https://unfccc.int" + href
|
|
|
|
|
|
+
|
|
|
|
|
|
if str(Path(href).parent).endswith("documents"):
|
|
|
targets.append({"title": title, "url": href})
|