View Pit Stop page for race #30 by imanranjbar — Ghost race
View profile for Iman Ranjbar (imanranjbar)
Official speed | 35.38 wpm (116.68 seconds elapsed during race) |
---|---|
Race Start | April 21, 2023 9:41:40am UTC |
Race Finish | April 21, 2023 9:43:36am UTC |
Outcome | Win (1 of 3) |
Accuracy | 95.0% |
Points | 21.82 |
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) |