ruby当前时间:ruby写扫描当前网页所有url的脚本

用ruby写扫描当前网页所有url脚本对于学习ruby朋友是个不错例子#scanweb.rb#使用方法ruby scanweb.rb www.jb51.net 将当前结果保存在c:1.txtrequire net/httpfilename= File.(c:1.txt,"w+") $*[0]nilputs "hehe,没有输入网址"h = Net::HTTP.($*[0], 80)resp, da... [阅读全文]
1 共1条 分1页