事情是这样的,现在全球物料很差,我们需要每天跟进很多物料的最新到货信息,就要从网站上去查,每天全部查一遍基本可以下班了。
这个是我的查询网站:
https://www.cma-cgm.com/ebusiness/tracking
查询输入:
CMAU8282380
我分析了下是发送了一个post 请求
Request URL: https://www.cma-cgm.com/ebusiness/tracking/search
Request Method: POST
Status Code: 200
Remote Address: 65.58.25.250:443
Referrer Policy: no-referrer-when-downgrade
然后data 是: 用在post的参数里
SearchBy: Container
Reference: CMAU8282380
FromHome: true
但是我不知道为什么返回的response 还是当前页面,并没有得到查询的结果。
哪位大拿能帮忙写一个简单的代码 试试看呢?