python requests实现windows身份验证登录
1.安装ntlm https://github.com/requests/requests-ntlm
pip install requests_ntlm
2.使用
import requests from requests_ntlm import HttpNtlmAuth requests.get("http://ntlm_protected_site.com",auth=HttpNtlmAuth('domain\\username','password'))