Advertisement
Guest User

Manu

a guest
Apr 6th, 2020
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. ips.txt:8.8.8.8
  2.  
  3. with open("/home/manu/ips.txt") as file:
  4.              for line in file:
  5.                  print (line)
  6.                  geo_request = requests.get('https://get.geojs.io/v1/ip/geo/' + line + '.json')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement