google-code-moved: count apps left
This commit is contained in:
parent
c617b0fb6e
commit
43ad1b5da0
|
@ -5,7 +5,12 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
sed -n 's@Source Code:\(.*code\.google\.com.*/source\)@\1@p' metadata/*.txt | sort -u | shuf | while read url; do
|
all=$(sed -n 's@Source Code:\(.*code\.google\.com.*/source\)@\1@p' metadata/*.txt | sort -u)
|
||||||
|
len=$(echo "$all" | wc -l)
|
||||||
|
|
||||||
|
echo "$len apps left"
|
||||||
|
|
||||||
|
echo "$all" | sort -u | shuf | while read url; do
|
||||||
echo $url
|
echo $url
|
||||||
|
|
||||||
found=$(curl -s $url/checkout | sed -n 's/.*<A HREF="\(.*\)">here<\/A>.*/\1/p')
|
found=$(curl -s $url/checkout | sed -n 's/.*<A HREF="\(.*\)">here<\/A>.*/\1/p')
|
||||||
|
|
Loading…
Reference in a new issue