Use existing authenticated session from browser to perform https request on python

后端 未结 3 1877
清歌不尽
清歌不尽 2021-02-15 10:55

Is it possible to take an existing logged in session (say in Chrome) and pipe that session to a python script to perform an https request?

To be clear on what I want to

3条回答
  •  离开以前
    2021-02-15 11:40

    Why don't you parse out the generated CAPTCHA, display the image and manually input the solution? It may be an easier approach to your problem than actually hijacking a session. Plus, it would result in a more portable and stable script (probably).

提交回复
热议问题