转贴:为什么wget只返回index.html
ruby吧
全部回复
仅看楼主
level 6
需求比较大
楼主
为什么wget只返回index.html - 问也
来自:
wenyeah.com/answers/view/25118
2014年08月26日 14点08分
1
level 12
油豆腐细粉
wget 的手册里:
HTTP Options
--default-page=name
Use name as the default file name when it isn*t known (i.e., for
URLs that end in a slash), instead of index.html.
若访问的网址里没有档名,就会以 index.html 档名存,
若要改,就改上述的参数。
2014年08月26日 16点08分
2
1