View Pit Stop page for race #3 by patrickhirsh — Ghost race
View profile for 🚀 🚀 🚀 (patrickhirsh)
Official speed | 28.10 wpm (146.90 seconds elapsed during race) |
---|---|
Race Start | August 29, 2022 9:58:52pm UTC |
Race Finish | August 29, 2022 10:01:19pm UTC |
Outcome | Win (1 of 3) |
Accuracy | 93.0% |
Points | 17.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) |