夜雨聆风学习资料网

ARTICLE · 1327864

app数据采集:悠悠有品APP协议采集

app数据采集:悠悠有品APP协议采集

声明

本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口  等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关! 有相关问题请第一时间点击头像看简介或私信联系我删除博客! 部分python 代码

# wx:ff2766958292url = "/api/homepage/v3/detail/commodity/list/lease"data = {    "autoDelivery": 0,    "conditions": [],    "hasLease": "true",    "haveBuZhangType": 0,    "isDialogMarket": False,    "isMultipleZone": 0,    "listSortType": "2",    "listType": 30,    "mergeFlag": 0,    "pageIndex": 1,    "pageSize": 50,    "pageSourceCode": "PG3000003",    "presaleMoreZones": 0,    "sortType": "1",    "sortTypeKey": "",    "sourceChannel": "",    "status": "20",    "stickerAbrade": 0,    "stickersIsSort": False,    "templateId": "384",    "ultraLongLeaseMoreZones": 3,    "userId": "",    "Sessionid": DEVICE_ID,}body = json.dumps(data, separators=(",", ":"), ensure_ascii=False)request_tag = make_request_tag()headers["requestTag"] = request_tagheaders["Device-Info"] = make_device_info(request_tag)headers["signature"] = generate_signature(    "/api/homepage/v3/detail/commodity/list/lease", body, int(time.time()))response = requests.post(url, headers=headers, data=body.encode("utf-8"))print(response.text[0:1000])print(response)

结果

总结

1.出于安全考虑,本章未提供完整流程,调试环节省略较多,只提供大致思路,具体细节要你自己还原,相信你也能调试出来。
2.具体更多细节请看名字进入详情了解更多细节,具体细节要你自己还原,相信你也能调试出来。

回首页,搜索你想要的文档

在首页搜索框输入关键词,快速定位资料

文库首页搜索指引 立即搜索

相关学习资料