Scraper ONPE Elecciones Generales 2021
Dos formas: API, WEB
- Primera vuelta https://api.resultados.eleccionesgenerales2021.pe/mesas/detalle/000001
- Segunda vuelta https://api.resultadossep.eleccionesgenerales2021.pe/mesas/detalle/000001
Para descargar a la carpeta actas_json/
ejecute
pip3 install -r requirements.txt
python3 simple_loop.py # To check download check download_checker.py
Este método necesita:
- Chrome v90
- Chrome headers:
ChromeDriver 90.0.4430.24
pip3 install -r requirements.txt
# Descarga header de Chrome
https://chromedriver.storage.googleapis.com/index.html?path=89.0.4389.23/