阅读背景:

如何使用Python登录网页并检索cookies以供以后使用?

来源:互联网 

I want to download and parse webpage using python, but to access it I need a couple of cookies set. Therefore I need to login over https to the webpage first. The login moment involves sending two POST params (username, password) to /login.php. During the login request I want to retrieve the cookies from the response header and store them so I can use them in the request to download the webpage /data.php.I want to download and parse webpage using pyth




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: