Monday, February 6, 2017

I was looking for an answer, I come up reading this...oh I love it!!! well but bcz I'm not nothing but a candidate to a newbie, i don't know this 2 python version (haaaave their own library??) second...so, let me guess...you monkey path because your "peer" more than 2 proxies...what i should call this? the request calls first "darling" then "sweetheart" and finally "babe" , and the server RESPONSE is "oh I like the babe request"???

How do I get the IP address from a http request using the requests library?


I am making HTTP requests using the requests library in python, but I need the ip address from the server that responded the http request and I'm trying to avoid to make two calls (and possibly having a different ip address from the one that responded the request.
Is that possible? Does any python http library allows me to do that?
ps: I also need to make HTTPS requests and to use an authenticated proxy.  ( ๐Ÿ˜ƒ๐Ÿ˜ƒ๐Ÿ˜ƒ๐Ÿ˜ƒ๐Ÿ˜๐Ÿ˜ )

No comments: