→ jyekid: 有強者願意寫程式批次下載嘛 這樣輸入好麻煩 01/05 04:00
#!/bin/bash
# 1 2 3 4 5 6 7 8 9 10 11 12
MAX=(x 31 28 31 30 31 30 31 31 30 31 30 31 )
for Y in {1952..2014};do
if [ $[$Y%4] == 0 ];then
MAX[2]=29
else
MAX[2]=28
fi
for M in {01..12};do
m=10#${M}
mkdir -p $Y/$M
for D in `eval echo "{01..${MAX[m]}}"`;do
wget https://event.franklin.com.tw/C2014_11_TGF/showimg.aspx?date=$Y$M$D \
-O ./${Y}/$M/${Y}${M}${D}.png
done; done ;done