python - 通过已有cookies模拟登录有赞,可以实现吗?
巴扎黑
巴扎黑 2017-04-17 17:03:17
0
3
487
巴扎黑
巴扎黑

reply all(3)
伊谢尔伦

The purpose of logging in is to get cookies. Why do you need to log in when you have cookies?

Peter_Zhu

If you want to simulate login, there is no need to find cookies from chrome.
I took a look at the request data when logging in. You only need to use the post method to request the URL https://login.youzan.com, and then attach the account password verification code and other information to the content. As for the verification code, you can You can climb down and have a look beforehand.
I took a screenshot of the post data, you can take a look at it:

I hope it helps you. If it doesn’t work, please post your problem in more detail. You can post whatever step you have taken now.

Ty80

What do you want to do after logging in?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template