Last active
November 5, 2022 15:56
-
-
Save begnini/ebf9c3cffc10b41559e7ac2355f29eca to your computer and use it in GitHub Desktop.
Baixa os arquivos transmitidos para a totalizacaos das Eleicoes 2022
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
STATES="AC AL AM AP BA CE DF ES GO MA MG MS PA PB PE PI PR RJ RN RO RR RS SC SE SP TO ZZ" | |
for state in $(echo $STATES); do | |
for round in $(echo "1 2"); do | |
echo 'Downloading', $state, 'round', $round; | |
wget -nv --show-progress --header="User-Agent: Mozilla" https://cdn.tse.jus.br/estatistica/sead/eleicoes/eleicoes2022/arqurnatot/bu_imgbu_logjez_rdv_vscmr_2022_${round}t_${state}.zip | |
done; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment