View Pit Stop page for race #31 by paraphrohn — Ghost race
View profile for paraph (paraphrohn)
Official speed | 74.31 wpm (54.58 seconds elapsed during race) |
---|---|
Race Start | February 25, 2019 2:17:25pm UTC |
Race Finish | February 25, 2019 2:18:19pm UTC |
Outcome | No win (3 of 3) |
Accuracy | 97.0% |
Points | 45.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) |