mercadolibre 采集风控分析
声明
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
侵权通过头像私信或名字简介叫我删除博客谢谢。
部分python代码
if __name__ == "__main__":
headers = {
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'accept-language': 'zh-CN,zh;q=0.9',
'cache-control': 'no-cache',
'device-memory': '8',
'downlink': '10',
'dpr': '1.25',
'ect': '4g',
'pragma': 'no-cache',
'priority': 'u=0, i',
}
params = {
'sb': 'all_mercadolibre',
}
url = '/abcd-nutriciond'
result = fetch_and_solve(url, headers=headers, params=params)
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
response = session.get(url=url, headers=headers, params=params,
verify=False, timeout=60)
with open("1.html", "w", encoding="utf-8") as f:
f.write(response.text)
print(response.text)
