视频讲解中遇到的问题
1、讲师说可以从From Date中看到“处理翻页URL不变的情况”,然而在2021年12月19日查看有关网站时却发现,通过谷歌浏览器,没有看到这一字段显示。
2、换页网站的请求方式,已经改为了get请求方式,如下图所示:
Request URL: http://www.jkl.com.cn/shopLis.aspx?current=1&TypeId=10045
Request Method: GET
Status Code: 200 OK
Remote Address: 59.56.106.207:80
Referrer Policy: strict-origin-when-cross-origin
3、个人的发现,换页的内容可以在如下环境中发现有变量在进行替换:

4、根据课程中的弹幕提示,其实这个的URL已经在发生变化了:
http://www.jkl.com.cn/shopLis.aspx?current=2&TypeId=10045
个人认为这是因为网站的请求方式变为了GET。
5、讲师课程中从POST方式下需要选择的部分

相应配套的核心代码如下:

网友评论