
远程调用x-sign, x-mini-wua算法接口链接:
xxxxx:5000/xianyu/sign_mim_wua/itemId=649780866851
x-sign 结算结果需要传入的参数值:
deviceId ,utdid,appKey,api....
具体如下图:
hashMap.put("deviceId", deviceId);
hashMap.put("utdid", utdId);
hashMap.put("ttid", ttId);
hashMap.put("appKey", appKey);
hashMap.put("api", api);
hashMap.put("data", URLDecoder.decode(data));
hashMap.put("x-features", "27");
hashMap.put("v", v);
hashMap.put("sid", sid);
hashMap.put("t", t);
hashMap.put("uid", uid);
XposedBridge.log("生成Sign的Map值为: " + hashMap.toString());
x-mini-wua 需要用到这两个参数 :
hashMap.put("pageName", "");
hashMap.put("pageId", "");

这两步已经在签名接口里面完成了,只要用Python (其他)远程调用就行了, 只需要传一个产品itemID值就可以获取加密结果
后续数据抓取爬虫部分需要自己完成, 包括风控这些,这里只提供算法研究。

本文介绍了如何远程调用闲鱼的x-sign和x-mini-wua算法接口,用于获取商品ID的加密结果。Python开发者可以通过传入商品ID来实现接口调用。虽然文章不涉及数据抓取和风控的具体实现,但为相关算法的研究提供了基础。
2万+

被折叠的 条评论
为什么被折叠?



