|
@@ -28,13 +28,6 @@ year = args.year
|
|
|
|
|
|
print("Fetching submissions for {}".format(year))
|
|
|
|
|
|
-url = (
|
|
|
- "https://unfccc.int/process/transparency-and-reporting/"
|
|
|
- "reporting-and-review-under-the-convention/"
|
|
|
- "greenhouse-gas-inventories-annex-i-parties/"
|
|
|
- "submissions/national-inventory-submissions-{}".format(year)
|
|
|
-)
|
|
|
-
|
|
|
if int(year) == 2019:
|
|
|
url = (
|
|
|
"https://unfccc.int/process-and-meetings/transparency-and-reporting/"
|
|
@@ -42,11 +35,24 @@ if int(year) == 2019:
|
|
|
"greenhouse-gas-inventories-annex-i-parties/"
|
|
|
"national-inventory-submissions-{}".format(year)
|
|
|
)
|
|
|
-
|
|
|
-if int(year) >= 2020:
|
|
|
+elif int(year) in range(2020,2023):
|
|
|
url = (
|
|
|
"https://unfccc.int/ghg-inventories-annex-i-parties/{}".format(year)
|
|
|
)
|
|
|
+elif int(year) >= 2023:
|
|
|
+ url = (
|
|
|
+ "https://unfccc.int/process/transparency-and-reporting/"
|
|
|
+ "reporting-and-review-under-the-convention/"
|
|
|
+ "greenhouse-gas-inventories-annex-i-parties/"
|
|
|
+ "national-inventory-submissions-{}".format(year)
|
|
|
+ )
|
|
|
+else:
|
|
|
+ url = (
|
|
|
+ "https://unfccc.int/process/transparency-and-reporting/"
|
|
|
+ "reporting-and-review-under-the-convention/"
|
|
|
+ "greenhouse-gas-inventories-annex-i-parties/"
|
|
|
+ "submissions/national-inventory-submissions-{}".format(year)
|
|
|
+ )
|
|
|
|
|
|
print(f"Using {url} to get submissions list")
|
|
|
|