View Pit Stop page for race #98 by boy_314 — Ghost race
Official speed | 78.68 wpm (51.55 seconds elapsed during race) |
---|---|
Race Start | October 17, 2019 8:50:00pm UTC |
Race Finish | October 17, 2019 8:50:52pm UTC |
Outcome | Win (1 of 3) |
Accuracy | 98.0% |
Points | 48.52 |
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) |