+ 1

How can i get any website ip ?

I'm starting in the world of coding with Python and I found this code in one forum. I read it 20 times, but i don't understand it. I would like to creat a "ip bot", but... i don't know how 😖😖 https://code.sololearn.com/c2GKeg75pZW1/?ref=app

20th Aug 2017, 8:15 PM
xRaNx00
xRaNx00 - avatar
3 Antworten
+ 1
The code from the sample gives out the IP address and other details of the solo learn server on which the code playground is hosted. for a better understanding read this from the pydoc https://docs.python.org/2/library/socket.html or this https://pydoc-zh.readthedocs.io/en/latest/howto/sockets.html
20th Aug 2017, 8:30 PM
Infant Raj
Infant Raj - avatar
+ 2
An easier way to find the IP address of a website: Step 1: Open command prompt and type in "tracert" then type in the website for example "tracert www.instructables.com" without these things"". Step 2: The IP address is what comes up next to where it says "tracing route to (the website you inserted)(the IP address). Step 3: To trace where the signal originates from use a website like https://ipaddress.ip-adress.com/ and that tells you where it originates from, but to find the company and other things about them use https://whois.ip-adress.com/
20th Aug 2017, 8:29 PM
Infant Raj
Infant Raj - avatar
+ 1
what do you want to know? this socket library help you to see all ip and socket info and it works fine
20th Aug 2017, 8:24 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar