Skip to content

Instantly share code, notes, and snippets.

@RodrigoAyala
Last active October 20, 2016 14:58
Show Gist options
  • Save RodrigoAyala/3b94789d64f709176d4a4dace41ca7b3 to your computer and use it in GitHub Desktop.
Save RodrigoAyala/3b94789d64f709176d4a4dace41ca7b3 to your computer and use it in GitHub Desktop.
Descarga automática de los PDF pertenecientes al Padrón Electoral del Servel
curl -s http://web.servel.cl/archivos.xml | grep -ohE 'A\d{7}.pdf' | while read x; do curl -o $x http://web.servel.cl/padron/$x; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment