August 09, 2004

Get pbase photo script

# 範例: 周大拍的2004台北電腦應用展
URL="http://www.pbase.com/albertjou/show16&page=all"
for i in `lynx -dump $URL | awk -F'[] ]' '/http.*image/ {print $NF}'`
do
    wget `lynx -source $i | awk -F\" '/IMG.*upload.*jpg/ {print $6}'`
done
Posted by pank at August 9, 2004 03:32 AM
Comments
Post a comment













Remember personal info?