View Pit Stop page for race #125 by hellothen — Ghost race
View profile for SalmanMKC (hellothen)
Official speed | 72.19 wpm (56.19 seconds elapsed during race) |
---|---|
Race Start | February 6, 2019 12:40:33pm UTC |
Race Finish | February 6, 2019 12:41:29pm UTC |
Outcome | No win (2 of 3) |
Accuracy | 98.0% |
Points | 44.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) |