View Pit Stop page for race #2 by oceanlim — Ghost race
View profile for Ocean (oceanlim)
Official speed | 48.64 wpm (85.61 seconds elapsed during race) |
---|---|
Race Start | October 12, 2021 5:43:04am UTC |
Race Finish | October 12, 2021 5:44:30am UTC |
Outcome | Win (1 of 5) |
Accuracy | 94.0% |
Points | 30.00 |
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) |