在requests请求登录接口时加入对应参数,取消重定向allow_redirects=False即可。
r = requests.post(url=url,data=data,allow_redirects=False)
在requests请求登录接口时加入对应参数,取消重定向allow_redirects=False即可。
r = requests.post(url=url,data=data,allow_redirects=False)
本文标题:登录接口重定向时获取cooike
本文链接:https://www.haomeiwen.com/subject/kfwmbctx.html
网友评论