像/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>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl01','')" style="color:#330099;">2</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl02','')" style="color:#330099;">3</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl03','')" style="color:#330099;">4</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl04','')" style="color:#330099;">5</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl05','')" style="color:#330099;">6</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl06','')" style="color:#330099;">7</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl07','')" style="color:#330099;">8</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl08','')" style="color:#330099;">9</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl09','')" style="color:#330099;">10</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl10','')" style="color:#330099;">11</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl11','')" style="color:#330099;">12</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl12','')" style="color:#330099;">13</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl13','')" style="color:#330099;">14</a>
<a href="javascript:__doPostBack('DataGrid1$ctl54$ctl14','')" style="color:#330099;">15</a></td>
数据组成是一个form,form的提交处理为action="B3X.aspx?aiid=HEGLT" 有没有人回答啊 。。。。。。。 用下图这两种模式采集试试。
页:
[1]