作为我的标题,如果目标网站中的网页切换功能使用的是javascript而不是xxx.aspx?page=2
,是否可以获得更多的单页数据?
我相信目标网站正在像这样切换
<select name="Centlist1$cmb_page"
onchange="javascript:setTimeout('__doPostBack(\'Centlist1$cmb_page\',\'\')', 0)"
id="Centlist1_cmb_page" class="dropdown">
<option selected value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
和javascript:
<script type="text/javascript">
//<![CDATA[
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>