Skip to content

Commit

Permalink
Merge pull request #835 from basedosdados/staging/fix-crawler-ans
Browse files Browse the repository at this point in the history
[fix] br_ans_beneficiarios
  • Loading branch information
tricktx authored Aug 15, 2024
2 parents 4fbcbbb + 522e999 commit 963f6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/datasets/br_ans_beneficiario/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_url_from_template(file) -> str:
Raises:
Exception: If there is an error in the HTTP request with status code 4xx or 5xx.
"""
download_page = f"https://dadosabertos.ans.gov.br/FTP/PDA/informacoes_consolidadas_de_beneficiarios/{file}/"
download_page = f"https://dadosabertos.ans.gov.br/FTP/PDA/informacoes_consolidadas_de_beneficiarios-024/{file}/"
response = requests.get(download_page, timeout=5)

if response.status_code >= 400 and response.status_code <= 599:
Expand Down

0 comments on commit 963f6c2

Please sign in to comment.