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

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

这个分布列表怎么采啊(强人请进)

[复制链接]
发表于 2010-7-12 15:32:56 | 显示全部楼层 |阅读模式
http://news.gtxh.com/SteelNews/DailyQuotes.aspx?MenuNName=%e6%b6%82%e9%95%80这个分页列表怎么采啊,请高人指点一下,谢谢了!!!!!!!!!!
发表于 2010-11-6 18:48:34 | 显示全部楼层
本帖最后由 zhouchanglin 于 2010-11-6 18:50 编辑

post方式提交的,你可以找相关的教程,下面是一些源码里提交表单的函数和参数
  1. <div class="pages"><div class="list_page"><h1><input type="hidden" name="DataPaging$hf" id="DataPaging_hf" value="100" />
  2. <input type="hidden" name="DataPaging$tr" id="DataPaging_tr" value="2500" />


  3.         <a class="current" href="javascript:__doPostBack('DataPaging$directyLinks$ctl00$ctl00','')">[1]</a>
  4.    
  5.         <a class="nextpage" href="javascript:__doPostBack('DataPaging$directyLinks$ctl01$ctl00','')">[2]</a>
  6.    
  7.         <a class="nextpage" href="javascript:__doPostBack('DataPaging$directyLinks$ctl02$ctl00','')">[3]</a>
  8.    
  9.         <a class="nextpage" href="javascript:__doPostBack('DataPaging$directyLinks$ctl03$ctl00','')">[4]</a>
  10.    
  11.         <a class="nextpage" href="javascript:__doPostBack('DataPaging$directyLinks$ctl04$ctl00','')">[5]</a>
  12.    
  13.         <a class="nextpage" href="javascript:__doPostBack('DataPaging$directyLinks$ctl05$ctl00','')">[6]</a>
  14.    
  15.         <a class="nextpage" href="javascript:__doPostBack('DataPaging$directyLinks$ctl06$ctl00','')">[7]</a>
  16.    
  17.         <a class="nextpage" href="javascript:__doPostBack('DataPaging$directyLinks$ctl07$ctl00','')">[8]</a>
  18.    
  19.         <a class="nextpage" href="javascript:__doPostBack('DataPaging$directyLinks$ctl08$ctl00','')">[9]</a>
  20.    
  21.         <a class="nextpage" href="javascript:__doPostBack('DataPaging$directyLinks$ctl09$ctl00','')">[10]</a>
  22.    
  23. <a id="DataPaging_next" href="javascript:__doPostBack('DataPaging$next','')">[下一页]</a></h1></div></div>
复制代码
  1. <a class="current" href="javascript:__doPostBack('DataPaging$directyLinks$ctl00$ctl00','')">[1]</a>

  2. <form name="form1" method="post" action="DailyQuotes.aspx?MenuNName=%u6d82%u9540" id="form1" style="display:inline;">
  3. <div>
  4. <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
  5. <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
  6. <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTk5MTMzNzI4Nw9kFgICAQ9kFgICBQ9kFgQCBg8WAh4LXyFJdGVtQ291bnQCChYUZg9kFgICAQ8PFgYeCENzc0NsYXNzBQdjdXJyZW50Hg9Db21tYW5kQXJndW1lbnQFATEeBF8hU0ICAmQWAmYPFQEBMWQCAQ9kFgICAQ8PFgYfAQUIbmV4dHBhZ2UfAgUBMh8DAgJkFgJmDxUBATJkAgIPZBYCAgEPDxYGHwEFCG5leHRwYWdlHwIFATMfAwICZBYCZg8VAQEzZAIDD2QWAgIBDw8WBh8BBQhuZXh0cGFnZR8CBQE0HwMCAmQWAmYPFQEBNGQCBA9kFgICAQ8PFgYfAQUIbmV4dHBhZ2UfAgUBNR8DAgJkFgJmDxUBATVkAgUPZBYCAgEPDxYGHwEFCG5leHRwYWdlHwIFATYfAwICZBYCZg8VAQE2ZAIGD2QWAgIBDw8WBh8BBQhuZXh0cGFnZR8CBQE3HwMCAmQWAmYPFQEBN2QCBw9kFgICAQ8PFgYfAQUIbmV4dHBhZ2UfAgUBOB8DAgJkFgJmDxUBAThkAggPZBYCAgEPDxYGHwEFCG5leHRwYWdlHwIFATkfAwICZBYCZg8VAQE5ZAIJD2QWAgIBDw8WBh8BBQhuZXh0cGFnZR8CBQIxMB8DAgJkFgJmDxUBAjEwZAIIDw8WBB8CBQEyHgdWaXNpYmxlZ2RkZA6edeUudFeyaKPYjNLTCh9z9DWU" />
  7. </div>

  8. <script type="text/javascript">
  9. <!--
  10. var theForm = document.forms['form1'];
  11. if (!theForm) {
  12.     theForm = document.form1;
  13. }
  14. function __doPostBack(eventTarget, eventArgument) {
  15.     if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
  16.         theForm.__EVENTTARGET.value = eventTarget;
  17.         theForm.__EVENTARGUMENT.value = eventArgument;
  18.         theForm.submit();
  19.     }
  20. }
  21. // -->
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?加入会员

x
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

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

GMT+8, 2024-11-19 04:44

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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