Last active
December 25, 2015 10:39
-
-
Save aniversarioperu/6963012 to your computer and use it in GitHub Desktop.
Script para bajarse las páginas del Congreso del Perú que contiene links a los proyectos de ley presentados por los congresistas (año 2013).
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 | |
for i in {0..900..100} | |
do | |
if [ $i = 0 ]; then | |
torsocks wget "http://www2.congreso.gob.pe/Sicr/TraDocEstProc/CLProLey2011.nsf/PAporNumeroInverso?OpenView" | |
else | |
torsocks wget "http://www2.congreso.gob.pe/Sicr/TraDocEstProc/CLProLey2011.nsf/PAporNumeroInverso?OpenView&Start=$i" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment