使用python授权从受保护的cookie获取请求

时间:2021-05-07 09:01:01

标签: python python-3.x python-requests

我想从受保护的 URL 获取 cookie,我正在使用此版本,但它不起作用?

 s.get('https://test.commain?=&targets_codes=72300&requestsd_type=load_task_view',
                  auth=('test', 'test'))

使用用户名和密码登录以访问 cookie 的最佳方式是什么?

0 个答案:

没有答案