我想获取站点“https://xxxxxx/login.htmx”的内容。在html代码中有一个JS脚本,如下所示:
<script language="javascript">$(document).ready(function() {
$('#BTN_ACCEDI').linkbutton({plain:false});
$('#BTN_ACCEDI').click(function(){customSubmitLogin();});
$('#j_password').validatebox({required:true,validType:'length[1,80]' });
$('#j_username').validatebox({required:true,validType:'length[1,80]'});
$('#imp_num').validatebox({required:true,validType:'length[1,5]'});
$('#j_username').focus();
});</script>
我一直在寻找,所以我找到了一些线索:
^{pr2}$但是当我尝试r.text
时,它会给我原始的html页面,而不是登录后的页面。
你能帮我吗?知道成功登录后的URL是相同的有用吗?在
您需要更多表单数据:
如果您查看“打开开发人员工具”,您可以看到从浏览器提交时发布的内容:
相关问题 更多 >
编程相关推荐