知网的链接构造

2018-12-04 15:11:44 浏览数 (1)

知网专利的情况

左边导航一级目录为,第一基础科学,第二工程科技

image.png

第一基础科学

image.png

Request URL: http://kns.cnki.net/kns/request/NaviGroup.aspx?code=A&tpinavigroup=SCODtpiresult&catalogName=&__=Sun Oct 28 2018 10:21:59 GMT+0800 (中国标准时间) Request Method: GET

image.png

其response为

[图片上传中...(b.PNG-e14d48-1540698054808-0)]

image.png

<dd><span><input type="hidden" id="A001parent" value="A"><img id="A001first" src="../images/gb/01.gif" onclick="plusclick('A001','','SCODtpiresult')" /><img id="A001second" src="../images/gb/02.gif" onload="reduceload('A001')" onclick="reduceclick('A001')" /> <input type="checkbox" id="selectbox" value="A001" name="自然科学理论与方法" onclick="CheckUpDown('A001','A')"></span><a href="javascript:void(0);" onclick="ClickNode('A001','专题子栏目代码');">自然科学理论与方法</a> </dd><dl id="A001child"></dl>

A002|<dd><span><input type="hidden" id="A003parent" value="A"><img id="A003first" src="../images/gb/01.gif" onclick="plusclick('A003','','SCODtpiresult')" /><img id="A003second" src="../images/gb/02.gif" onload="reduceload('A003')" onclick="reduceclick('A003')" /> <input type="checkbox" id="selectbox" value="A003" name="非线性科学与系统科学" onclick="CheckUpDown('A003','A')"></span><a href="javascript:void(0);" onclick="ClickNode('A003','专题子栏目代码');">非线性科学与系统科学</a> </dd><dl id="A003child"></dl>

A004|<dd><span><input type="hidden" id="A005parent" value="A"><img id="A005first" src="../images/gb/01.gif" onclick="plusclick('A005','','SCODtpiresult')" /><img id="A005second" src="../images/gb/02.gif" onload="reduceload('A005')" onclick="reduceclick('A005')" /> <input type="checkbox" id="selectbox" value="A005" name="物理学" onclick="CheckUpDown('A005','A')"></span><a href="javascript:void(0);" onclick="ClickNode('A005','专题子栏目代码');">物理学</a> </dd><dl id="A005child"></dl>

A006|<dd><span><input type="hidden" id="A007parent" value="A"><img id="A007first" src="../images/gb/01.gif" onclick="plusclick('A007','','SCODtpiresult')" /><img id="A007second" src="../images/gb/02.gif" onload="reduceload('A007')" onclick="reduceclick('A007')" /> <input type="checkbox" id="selectbox" value="A007" name="天文学" onclick="CheckUpDown('A007','A')"></span><a href="javascript:void(0);" onclick="ClickNode('A007','专题子栏目代码');">天文学</a> </dd><dl id="A007child"></dl>

A008|<dd><span><input type="hidden" id="A009parent" value="A"><img id="A009first" src="../images/gb/01.gif" onclick="plusclick('A009','','SCODtpiresult')" /><img id="A009second" src="../images/gb/02.gif" onload="reduceload('A009')" onclick="reduceclick('A009')" /> <input type="checkbox" id="selectbox" value="A009" name="气象学" onclick="CheckUpDown('A009','A')"></span><a href="javascript:void(0);" onclick="ClickNode('A009','专题子栏目代码');">气象学</a> </dd><dl id="A009child"></dl>

A010|<dd><span><input type="hidden" id="A011parent" value="A"><img id="A011first" src="../images/gb/01.gif" onclick="plusclick('A011','','SCODtpiresult')" /><img id="A011second" src="../images/gb/02.gif" onload="reduceload('A011')" onclick="reduceclick('A011')" /> <input type="checkbox" id="selectbox" value="A011" name="地质学" onclick="CheckUpDown('A011','A')"></span><a href="javascript:void(0);" onclick="ClickNode('A011','专题子栏目代码');">地质学</a> </dd><dl id="A011child"></dl>

A012|<dd><span><input type="hidden" id="A013parent" value="A"><img id="A013first" src="../images/gb/01.gif" onclick="plusclick('A013','','SCODtpiresult')" /><img id="A013second" src="../images/gb/02.gif" onload="reduceload('A013')" onclick="reduceclick('A013')" /> <input type="checkbox" id="selectbox" value="A013" name="资源科学" onclick="CheckUpDown('A013','A')"></span><a href="javascript:void(0);" onclick="ClickNode('A013','专题子栏目代码');">资源科学</a> </dd><dl id="A013child"></dl>$A013| <FONT face="宋体"></FONT>

其下一级目录自然科学理论与方法

Request URL: http://kns.cnki.net/kns/request/NaviGroup.aspx?code=A001&tpinavigroup=SCODtpiresult&catalogName=&__=Sun Oct 28 2018 10:32:23 GMT+0800 (中国标准时间)

image.png

其response为

image.png

b.PNG

<dd><span><input type="hidden" id="A001_1parent" value="A001"><input type="checkbox" id="selectbox" value="A001_1" onclick="CheckDown('A001_1','A001')"></span><a href="javascript:void(0);" onclick="ClickNode('A001_1','专题子栏目代码');">自然科学研究的方针政策</a> </dd>

A001_2|<dd><span><input type="hidden" id="A001_3parent" value="A001"><input type="checkbox" id="selectbox" value="A001_3" onclick="CheckDown('A001_3','A001')"></span><a href="javascript:void(0);" onclick="ClickNode('A001_3','专题子栏目代码');">自然科学现状及发展</a> </dd>

A001_4| <FONT face="宋体"></FONT>

第三级标题:自然科学与方法论

Request URL: http://kns.cnki.net/kns/request/NaviGroup.aspx?code=A001_2&tpinavigroup=SCODtpiresult&catalogName=&__=Sun Oct 28 2018 10:42:33 GMT+0800 (中国标准时间) Request Method: GET

image.png

其response为:

image.png

c.PNG

<dd><span><input type="hidden" id="A001_21parent" value="A001_2"><input type="checkbox" id="selectbox" value="A001_21" onclick="CheckDown('A001_21','A001_2')"></span><a href="javascript:void(0);" onclick="ClickNode('A001_21','专题子栏目代码');">科学的哲学原理</a> </dd>

A001_22| <FONT face="宋体"></FONT>

第二工程科技

Request URL: http://kns.cnki.net/kns/request/NaviGroup.aspx?code=B&tpinavigroup=SCODtpiresult&catalogName=&__=Sun Oct 28 2018 10:22:24 GMT+0800 (中国标准时间) Request Method: GET

image.png

其response为

<dd><span><input type="hidden" id="B014parent" value="B"><img id="B014first" src="../images/gb/01.gif" onclick="plusclick('B014','','SCODtpiresult')" /><img id="B014second" src="../images/gb/02.gif" onload="reduceload('B014')" onclick="reduceclick('B014')" /> <input type="checkbox" id="selectbox" value="B014" name="化学" onclick="CheckUpDown('B014','B')"></span><a href="javascript:void(0);" onclick="ClickNode('B014','专题子栏目代码');">化学</a> </dd><dl id="B014child"></dl>

B015|<dd><span><input type="hidden" id="B016parent" value="B"><img id="B016first" src="../images/gb/01.gif" onclick="plusclick('B016','','SCODtpiresult')" /><img id="B016second" src="../images/gb/02.gif" onload="reduceload('B016')" onclick="reduceclick('B016')" /> <input type="checkbox" id="selectbox" value="B016" name="有机化工" onclick="CheckUpDown('B016','B')"></span><a href="javascript:void(0);" onclick="ClickNode('B016','专题子栏目代码');">有机化工</a> </dd><dl id="B016child"></dl>

B017|<dd><span><input type="hidden" id="B018parent" value="B"><img id="B018first" src="../images/gb/01.gif" onclick="plusclick('B018','','SCODtpiresult')" /><img id="B018second" src="../images/gb/02.gif" onload="reduceload('B018')" onclick="reduceclick('B018')" /> <input type="checkbox" id="selectbox" value="B018" name="一般化学工业" onclick="CheckUpDown('B018','B')"></span><a href="javascript:void(0);" onclick="ClickNode('B018','专题子栏目代码');">一般化学工业</a> </dd><dl id="B018child"></dl>

B019|<dd><span><input type="hidden" id="B020parent" value="B"><img id="B020first" src="../images/gb/01.gif" onclick="plusclick('B020','','SCODtpiresult')" /><img id="B020second" src="../images/gb/02.gif" onload="reduceload('B020')" onclick="reduceclick('B020')" /> <input type="checkbox" id="selectbox" value="B020" name="材料科学" onclick="CheckUpDown('B020','B')"></span><a href="javascript:void(0);" onclick="ClickNode('B020','专题子栏目代码');">材料科学</a> </dd><dl id="B020child"></dl>

B021|<dd><span><input type="hidden" id="B022parent" value="B"><img id="B022first" src="../images/gb/01.gif" onclick="plusclick('B022','','SCODtpiresult')" /><img id="B022second" src="../images/gb/02.gif" onload="reduceload('B022')" onclick="reduceclick('B022')" /> <input type="checkbox" id="selectbox" value="B022" name="金属学及金属工艺" onclick="CheckUpDown('B022','B')"></span><a href="javascript:void(0);" onclick="ClickNode('B022','专题子栏目代码');">金属学及金属工艺</a> </dd><dl id="B022child"></dl>

B023|<dd><span><input type="hidden" id="B024parent" value="B"><img id="B024first" src="../images/gb/01.gif" onclick="plusclick('B024','','SCODtpiresult')" /><img id="B024second" src="../images/gb/02.gif" onload="reduceload('B024')" onclick="reduceclick('B024')" /> <input type="checkbox" id="selectbox" value="B024" name="轻工业手工业" onclick="CheckUpDown('B024','B')"></span><a href="javascript:void(0);" onclick="ClickNode('B024','专题子栏目代码');">轻工业手工业</a> </dd><dl id="B024child"></dl>

B025|<dd><span><input type="hidden" id="B026parent" value="B"><img id="B026first" src="../images/gb/01.gif" onclick="plusclick('B026','','SCODtpiresult')" /><img id="B026second" src="../images/gb/02.gif" onload="reduceload('B026')" onclick="reduceclick('B026')" /> <input type="checkbox" id="selectbox" value="B026" name="安全科学与灾害防治" onclick="CheckUpDown('B026','B')"></span><a href="javascript:void(0);" onclick="ClickNode('B026','专题子栏目代码');">安全科学与灾害防治</a> </dd><dl id="B026child"></dl>

B027| <FONT face="宋体"></FONT>

image.png

Request URL: http://kns.cnki.net/kns/request/SearchHandler.ashx Request Method: POST Status Code: 200 OK

image.png

其的response为

ASP.brief_result_aspx&isinEn=0&dbPrefix=SCOD&dbCatalog=专利数据总库&ConfigFile=SCOD.xml&research=off

其post的方法被重新定向为

Request URL: http://kns.cnki.net/kns/brief/brief.aspx?pagename=ASP.brief_result_aspx&isinEn=0&dbPrefix=SCOD&dbCatalog=专利数据总库&ConfigFile=SCOD.xml&research=off&t=1540695323604&keyValue=&S=1&sorttype= Request Method: GET

image.png

image.png

其的response为: [图片上传失败...(image-99a7ec-1540697146854)]

每一篇文章的url为

<a class="fz14" href="/kns/detail/detail.aspx?QueryID=0&CurRec=1&dbcode=SOPD&dbname=SOPD2018&filename=USD828893(S1)" target="_blank">Trigger guard</a>

<a class="fz14" href="/kns/detail/detail.aspx?QueryID=0&CurRec=2&dbcode=SOPD&dbname=SOPD2018&filename=USD828895(S1)" target="_blank">Trigger mechanism</a>

0 人点赞