View Pit Stop page for race #4 by anch159 — Ghost race
View profile for Anch (anch159)
Official speed | 71.88 wpm (57.93 seconds elapsed during race) |
---|---|
Race Start | September 10, 2021 10:57:53pm UTC |
Race Finish | September 10, 2021 10:58:51pm UTC |
Outcome | No win (3 of 3) |
Accuracy | 97.0% |
Points | 44.33 |
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) |