火车采集器软件交流官方论坛

 找回密码
 加入会员
搜索
火车采集器V9版免费下载火车浏览器 - 可视采集,万能群发,全自动脚本工具
查看: 3506|回复: 2

请问这样的aspx网站的JS分页如何采集到网址???

[复制链接]
发表于 2016-4-16 16:25:58 | 显示全部楼层 |阅读模式
  1. <input type="hidden" name="ctl00$ContentPlaceHolder1$GSHGridView_BestStory$hidOrderBy" id="ContentPlaceHolder1_GSHGridView_BestStory_hidOrderBy" />

  2.           <div id="ContentPlaceHolder1_GSHPageController_BestStory_divPageController">
  3.        
  4.   本栏共有<span id="ContentPlaceHolder1_GSHPageController_BestStory_labRecordCount" style="color:Red;">939</span> 篇文章
  5.     <a onclick="javascript: var ocboPage = document.getElementById('ContentPlaceHolder1_GSHPageController_BestStory_cboPage'); ocboPage.selectedIndex = 0; ocboPage.onchange();" id="ContentPlaceHolder1_GSHPageController_BestStory_aFirst" class="aspNetDisabled">首页</a>
  6.     <a onclick="javascript: var ocboPage = document.getElementById('ContentPlaceHolder1_GSHPageController_BestStory_cboPage'); if(ocboPage.selectedIndex > 0) ocboPage.selectedIndex = ocboPage.selectedIndex - 1; ocboPage.onchange();" id="ContentPlaceHolder1_GSHPageController_BestStory_aPrior" class="aspNetDisabled">上一页</a>
  7.     <a onclick="javascript: var ocboPage = document.getElementById('ContentPlaceHolder1_GSHPageController_BestStory_cboPage'); if(ocboPage.selectedIndex < ocboPage.length)ocboPage.selectedIndex = ocboPage.selectedIndex + 1; ocboPage.onchange();" id="ContentPlaceHolder1_GSHPageController_BestStory_aNext" href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GSHPageController_BestStory$aNext','')">下一页</a>
  8.     <a onclick="javascript: var ocboPage = document.getElementById('ContentPlaceHolder1_GSHPageController_BestStory_cboPage'); if(ocboPage.length > 0) ocboPage.selectedIndex = ocboPage.length - 1; ocboPage.onchange();" id="ContentPlaceHolder1_GSHPageController_BestStory_aLast" href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GSHPageController_BestStory$aLast','')">尾页</a>
  9.     页次:<span id="ContentPlaceHolder1_GSHPageController_BestStory_labPageIndex" style="color:Red;">1</span>/<span id="ContentPlaceHolder1_GSHPageController_BestStory_labPageCount" style="color:Red;">47</span>页 转到第
  10.     <select name="ctl00$ContentPlaceHolder1$GSHPageController_BestStory$cboPage" onchange="javascript: document.getElementById('hidChoiced').value = this.options.selectedIndex;setTimeout('__doPostBack(\'ctl00$ContentPlaceHolder1$GSHPageController_BestStory$cboPage\',\'\')', 0)" id="ContentPlaceHolder1_GSHPageController_BestStory_cboPage" style="height: 22px">
  11.                 <option selected="selected" value="1">1</option>
  12.                 <option value="2">2</option>
  13.                 <option value="3">3</option>
  14.                 <option value="4">4</option>
  15.                 <option value="5">5</option>
  16.                 <option value="6">6</option>
  17.                 <option value="7">7</option>
  18.                 <option value="8">8</option>
  19.                 <option value="9">9</option>
  20.                 <option value="10">10</option>
  21.                 <option value="11">11</option>
  22.                 <option value="12">12</option>
  23.                 <option value="13">13</option>
  24.                 <option value="14">14</option>
  25.                 <option value="15">15</option>
  26.                 <option value="16">16</option>
  27.                 <option value="17">17</option>
  28.                 <option value="18">18</option>
  29.                 <option value="19">19</option>
  30.                 <option value="20">20</option>
  31.                 <option value="21">21</option>
  32.                 <option value="22">22</option>
  33.                 <option value="23">23</option>
  34.                 <option value="24">24</option>
  35.                 <option value="25">25</option>
  36.                 <option value="26">26</option>
  37.                 <option value="27">27</option>
  38.                 <option value="28">28</option>
  39.                 <option value="29">29</option>
  40.                 <option value="30">30</option>
  41.                 <option value="31">31</option>
  42.                 <option value="32">32</option>
  43.                 <option value="33">33</option>
  44.                 <option value="34">34</option>
  45.                 <option value="35">35</option>
  46.                 <option value="36">36</option>
  47.                 <option value="37">37</option>
  48.                 <option value="38">38</option>
  49.                 <option value="39">39</option>
  50.                 <option value="40">40</option>
  51.                 <option value="41">41</option>
  52.                 <option value="42">42</option>
  53.                 <option value="43">43</option>
  54.                 <option value="44">44</option>
  55.                 <option value="45">45</option>
  56.                 <option value="46">46</option>
  57.                 <option value="47">47</option>

  58.         </select>
  59.     页<input type="hidden" name="ctl00$ContentPlaceHolder1$GSHPageController_BestStory$hidPageIndex" id="ContentPlaceHolder1_GSHPageController_BestStory_hidPageIndex" value="1" />
  60.     <input type="hidden" id="hidChoiced" name="hidChoiced" value="0" />

  61. </div>
复制代码
请问上面这样的JS分页如何采集网址???

发表于 2016-4-16 16:48:36 | 显示全部楼层
用抓包工具抓
相关教程:http://faq.locoy.com/q-755.html
 楼主| 发表于 2016-4-18 16:38:28 | 显示全部楼层
请问还有好办法吗?谢谢
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

QQ|手机版|Archiver|火车采集器官方站 ( 皖ICP备06000549 )

GMT+8, 2024-11-25 02:54

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表