JordanMilne / Advocate

An SSRF-preventing wrapper around Python's requests library. Advocate is no longer maintained, please fork and rename if you would like to continue work on it.
Other
92 stars 17 forks source link

got exception #11

Closed abuvanth closed 4 years ago

abuvanth commented 4 years ago

i got exception

TypeError: new() got an unexpected keyword argument 'key_validator'

abuvanth commented 4 years ago

import advocate advocate.get("https://google.com")

JordanMilne commented 4 years ago

This was due to having a newer requests than was supported by advocate. This should be fixed by advocate 1.0.0 which drops support for requests versions under 2.18.0.