- 博客(2)
- 收藏
- 关注
原创 并行发送请求-grequests
# pip install grequestsimport grequestsimport timedef get_request_list(url, payload): # GET: grequests.get(url) # POST return grequests.post(url, data=payload)def demo(): # API接口 request_url = "http://xxx/interface/" param_.
2021-03-15 23:28:51 365
原创 节点遍历查询-jsonpath
# pip install jsonpathimport jsonpath# 参数传递json格式数据,支持精准和模糊查找方式json_data = jsonpath.jsonpath(json_data, '$..' + key)[0]# 参考链接# https://github.com/json-path/JsonPath# https://blog.csdn.net/Ka_Ka314/article/details/81014589# https://blog.csdn.net/m.
2021-03-06 18:47:22 863
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人