用來用去還是 wget 最好用呀~~
enable cookies
wget --cookies=on --keep-session-cookies --save-cookies=cookie.txt http://your.url
referer url and load cookies
wget --referer=http://your.referer.url --cookies=on --load-cookies=cookie.txt http://your.url
post data
wget --post-file post.txt http://your.url
wget --post-data="type=APP&nick=nickname" http://your.url
in post.txt(on windows)
type=APP&nick=nickname
user agent
--user-agent="Mozilla/5.0"
沒有留言:
張貼留言