Python Use IP138 to search city/country according to IP Address(1)
# Python code
from selenium import webdriver
driver=webdriver.Chrome()
url = ‘https://www.ip138.com/iplookup.asp?ip=’+’IP_ADDRESS’+’&action=2’
driver.get(url)
# Watch video and Replace $ to 》something like that
table_inner=driver.find_element_by_css_selector(“body $ div $ div.container $ div.content $ div $ div:nth-child(2) $ div.group $ div $ div $ div.table-inner $ table $ tbody”).text
print(table_inner)
driver.close()
==============================
Donations
XMR: 47RZyDevRzyG4Z79MMhyLv7Wk11zgiuWb9g5HrK3Sv4nae2hPzY3pYZhAj3hS8aNt82FncShAQZJQDPtVdapnbSk65MvFAL
ip address