fangling 发表于 2013-11-11 14:47:59

像/service/aspx/B3X.aspx?aiid=HEGLT这种url地址,怎么用火车头进行数据采集啊

不知道怎么写采集网址规则和内容规则

翻页的样式像这样
1 2 3 4 5 6 7 8
脚本为
<script type="text/javascript">
<!--
var theForm = document.forms['Form1'];
if (!theForm) {
theForm = document.Form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
// -->
</script>

table样式为
<td colspan="8"><span>1</span>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl01','')" style="color:#330099;">2</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl02','')" style="color:#330099;">3</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl03','')" style="color:#330099;">4</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl04','')" style="color:#330099;">5</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl05','')" style="color:#330099;">6</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl06','')" style="color:#330099;">7</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl07','')" style="color:#330099;">8</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl08','')" style="color:#330099;">9</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl09','')" style="color:#330099;">10</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl10','')" style="color:#330099;">11</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl11','')" style="color:#330099;">12</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl12','')" style="color:#330099;">13</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl13','')" style="color:#330099;">14</a>&nbsp;
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl14','')" style="color:#330099;">15</a></td>
       

fangling 发表于 2013-11-11 14:51:03

数据组成是一个form,form的提交处理为action="B3X.aspx?aiid=HEGLT"

fangling 发表于 2013-11-11 14:51:41

有没有人回答啊 。。。。。。。

303718 发表于 2013-11-11 15:46:11

用下图这两种模式采集试试。
页: [1]
查看完整版本: 像/service/aspx/B3X.aspx?aiid=HEGLT这种url地址,怎么用火车头进行数据采集啊