Use '/latest-comic' in ucgen.sh
This commit is contained in:
parent
6f3b588671
commit
1de3a1f048
4
ucgen.sh
4
ucgen.sh
|
@ -18,8 +18,10 @@ fi
|
||||||
dir="$COLOR-$WIDTH"
|
dir="$COLOR-$WIDTH"
|
||||||
mkdir "$dir"
|
mkdir "$dir"
|
||||||
|
|
||||||
|
last_comic="$(gendl "http://unichat-comic.com/latest-comic")"
|
||||||
|
|
||||||
i=1
|
i=1
|
||||||
while test $i -lt 194
|
while test "$i" -lt "$last_comic"
|
||||||
do
|
do
|
||||||
echo "Page $i..."
|
echo "Page $i..."
|
||||||
sh unichat.sh $i $WIDTH $COLOR > "$dir/$i.txt"
|
sh unichat.sh $i $WIDTH $COLOR > "$dir/$i.txt"
|
||||||
|
|
Ŝarĝante…
Reference in New Issue