View Pit Stop page for race #3 by jjohn2 — Ghost race
View profile for jjohn (jjohn2)
Official speed | 27.35 wpm (150.93 seconds elapsed during race) |
---|---|
Race Start | April 28, 2024 3:58:38pm UTC |
Race Finish | April 28, 2024 4:01:09pm UTC |
Outcome | No win (3 of 3) |
Accuracy | 92.0% |
Points | 16.87 |
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) |