google-code-moved: shuffle lines

This way we get the results don't pile at the end
This commit is contained in:
Daniel Martí 2015-08-26 18:49:53 -07:00
parent 61af30b7a2
commit bd83f3ea22

View file

@ -5,7 +5,7 @@
set -e
sed -n 's@Source Code:\(.*code\.google\.com.*/source\)@\1@p' metadata/*.txt | sort -u | while read url; do
sed -n 's@Source Code:\(.*code\.google\.com.*/source\)@\1@p' metadata/*.txt | sort -u | shuf | while read url; do
echo $url
found=$(curl -s $url/checkout | sed -n 's/.*<A HREF="\(.*\)">here<\/A>.*/\1/p')