回复 第2楼 的 nan.xiao:
myH=c(
"User-Agent"="Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
"Accept"="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Language"="zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3",
"Accept-Encoding"="gzip,deflate",
#"Accept-Charset"="GB2312,utf-8;q=0.7,*;q=0.7",
#"Keep-Alive"="115",
"Connection"="keep-alive",
"Host"="www.taoguba.com.cn",
"Content-Type"="application/x-www-form-urlencoded; charset=UTF-8",
#"Content-Length"=as.character(nchar(xx)*2+1),
"Pragma"="no-cache",
"Referer"="http://www.taoguba.com.cn/index.action?blockID=1&pageNum=6263&pageNo=1&flag=0;www.taoguba.com.cn",
"Cache-Control"="no-cache"
)
d=debugGatherer()
cH=getCurlHandle(
debugfunction=d$update,verbose=T,
ssl.verifyhost=F,ssl.verifypeer=F,
followlocation=T,
cookiefile="cc.txt")
请问我这前面的设置是有啥问题?
初学,请多指教