View Pit Stop page for race #9 by elizabethwei — Ghost race
View profile for Elizabeth (elizabethwei)
Official speed | 54.88 wpm (75.87 seconds elapsed during race) |
---|---|
Race Start | February 15, 2022 9:28:14pm UTC |
Race Finish | February 15, 2022 9:29:30pm UTC |
Outcome | Win (1 of 2) |
Accuracy | 95.0% |
Points | 33.84 |
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) |