下面是从IE浏览器导出的cookies.txt文件,直接让rculr来读,好像没起作用。
curl2<- getCurlHandle(httpheader=myHttpheader,followlocation=1,
verbose=TRUE,
cookiefile="D:\\cookies.txt")
getCurlInfo(curl2)[["cookielist"]]
返回的结果是空串。
请知道格式的朋友帮帮忙啊[s:12]
# Internet Explorer cookie file, exported for Netscape browsers.
accounts.google.com TRUE / TRUE 1392796590 GAPS 1:eHUcq27cOsafT4NqczUhxmMvycYPoQ:NensjmiH9Qip9BSn
accounts.google.com TRUE / FALSE 1391941919 __utma 72592003.26169853.1325740303.1326877829.1328504963.11
accounts.google.com TRUE / FALSE 1344637919 __utmz 72592003.1325740303.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
google.com TRUE / FALSE 1386144971 PREF ID=c4c4bfde1bbeccf4:U=e7a1f94e804adf5c:NW=1:TM=1277867572:LM=1322709428:S=5Re9Nqn8MI2BioiJ
google.com TRUE / FALSE 1603723024 rememberme false
google.com TRUE / FALSE 1345535790 NID 56=J1SVrrQPW0Q7aibEujQOTMJ-H7unI7aVwLKSUneS9xUiCQLDtuBicaVNECnnoZc0PPMc941T-HylXLgsh0rhr7thh0NLRAVnA9ggR-xr9oKT2zXIei2RShGFeG0uTR0R5nAc2ojNOOY9Qg