Chinaunix

标题: cURL求助! [打印本页]

作者: tianhui21    时间: 2007-01-04 14:51
标题: cURL求助!
有哪位大牛使用过cURL没用啊!能否用cURL把下列网址的网页下载下来啊(在浏览器中能直接打开)!
http://scholar.google.com/schola ... =GB&oi=citation
详细的HTTP头信息,我HTTPDubugger抓下来了,如下:
GET /scholar.bib?hl=zh-CN&lr=&newwindow=1&q=info:TTCOndLaPksJ:scholar.google.com/&output=citation&oe=GB&oi=citation HTTP/1.1
Host: scholar.google.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-CN; rv:1.8.0. Gecko/20061025 Firefox/1.5.0.8
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: zh-cn,zh;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: gb2312,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://scholar.google.com/schola ... 9C%E7%B4%A2&lr=
Cookie: GSP=ID=9930c0b67d9a6090:IN=8b9a455bd1c58d67:CF=4; PREF=ID=9930c0b67d9a6090:LD=zh-CN:NR=10:NW=1:TM=1157554630:LM=1166270124:S=HTBzFuXx8uLvnv-L




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2