Closed HarryVasanth closed 9 months ago
Closes #59
This PR fixes the issue where the current pipeline is failing due to the formatting issues with latest PDF by JORAM
constants.py:24
functions.py:25
constants.py:46
update_gas_prices.py:28
The following alterations have to be done immediately after the first instance of the JORAM website publishes the page for the year 2024 (Link):
# JORAM link 2023 - For Debugging - JORAM_LINK = "https://joram.madeira.gov.pt/joram/2serie/Ano%20de%202023" - JORAM_PDF_LINK = "https://joram.madeira.gov.pt/joram/2serie/Ano%20de%202023/{file}" + #JORAM_LINK = "https://joram.madeira.gov.pt/joram/2serie/Ano%20de%202023" + #JORAM_PDF_LINK = "https://joram.madeira.gov.pt/joram/2serie/Ano%20de%202023/{file}" # JORAM link - #JORAM_LINK = "https://joram.madeira.gov.pt/joram/2serie/Ano%20de%20{date:%Y}" - #JORAM_PDF_LINK = "https://joram.madeira.gov.pt/joram/2serie/Ano%20de%20{date:%Y}/{file}" + JORAM_LINK = "https://joram.madeira.gov.pt/joram/2serie/Ano%20de%20{date:%Y}" + JORAM_PDF_LINK = "https://joram.madeira.gov.pt/joram/2serie/Ano%20de%20{date:%Y}/{file}"
Related issues
Closes #59
What does this PR do?
This PR fixes the issue where the current pipeline is failing due to the formatting issues with latest PDF by JORAM
Solution Overview
Implementation Details
Matching & Catching
constants.py:24
functions.py:25
Debugging
constants.py:46
update_gas_prices.py:28
⚠️ Warning:
The following alterations have to be done immediately after the first instance of the JORAM website publishes the page for the year 2024 (Link):