Python Requests: follow a link
Suppose I have the following script:
import requests
username = 'myUser'
password = 'myPswd'
url = 'https://NTLMwebsite/base.com'
nextPage = 'https://NTLMwebsite/base/next.com'
r = requests.get(url, auth=HttpNtlmAuth(username,password))
#Cool, but how do I access nextPage?
How do I request another page once I've passed NTLM? authentication. If I
simply do another request via: requests.get(nextPage,
auth=HttpNtlmAuth(username,password)), then it redirects me back to the
base website since it creates a NEW request and has to re-certify NTLM
authentication.
Does anyone know how to follow a link ONCE you've bypassed NTLM?
No comments:
Post a Comment