View Pit Stop page for race #2 by brainstorm56 — Ghost race
View profile for Abhinav (brainstorm56)
Official speed | 39.40 wpm (104.77 seconds elapsed during race) |
---|---|
Race Start | August 8, 2023 5:37:49am UTC |
Race Finish | August 8, 2023 5:39:34am UTC |
Outcome | No win (3 of 3) |
Accuracy | 91.0% |
Points | 24.29 |
Text | #10016 (Length: 344 characters) import re import sys import urllib2 import BeautifulSoup usage = "Run the script: ./geolocate.py IPAddress" if len(sys.argv)!=2: print(usage) sys.exit(0) if len(sys.argv) > 1: ipaddr = sys.argv[1] geody = "http://www.geody.com/geoip.php?ip=" + ipaddr html_page = urllib2.urlopen(geody).read() soup = BeautifulSoup.BeautifulSoup(html_page) |