请根据自己的情况修改博客地址。
刷多次的方法:将要刷新的网页填入名为 list 的文件中,
每行填入一个博客地址。
请根据自己的需求进行修改。
[shaok.DESKTOP-903E4V5] ➤ cat list
http://blog.csdn.net/sh_uang/article/details/50689592http://blog.csdn.net/sh_uang/article/details/50783468http://blog.csdn.net/sh_uang/article/details/50967311http://blog.csdn.net/sh_uang/article/details/53048100http://blog.csdn.net/sh_uang/article/details/53147119http://blog.csdn.net/sh_uang/article/details/53153133http://blog.csdn.net/sh_uang/article/details/53165185http://blog.csdn.net/sh_uang/article/details/53165878http://blog.csdn.net/sh_uang/article/details/53180010http://blog.csdn.net/sh_uang/article/details/53180164http://blog.csdn.net/sh_uang/article/details/53192502http://blog.csdn.net/sh_uang/article/details/53313946http://blog.csdn.net/sh_uang/article/details/53426828http://blog.csdn.net/sh_uang/article/details/53440058http://blog.csdn.net/sh_uang/article/details/53440383http://blog.csdn.net/sh_uang/article/details/53440511http://blog.csdn.net/sh_uang/article/details/53449501然后,执行下面的bash脚本。
注意,一般情况下,不需要修改这个脚本,直接用就好了。
[shaok.DESKTOP-903E4V5] ➤ cat cheat_ranking.sh
#/自然的便当/bashn=1while [ $n -le 1000 ] #打算刷999次do for line in `cat ./list` do id=`basename $line` echo $id wget -U 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4' $line; rm -rf $id;# echo $line; done echo "==================================================" echo $n let n++ #或者写作n=$(( $n + 1 )) sleep 5; #间隔5秒,重新再来done