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)
| Game | Time | WPM | Accuracy |
|---|---|---|---|
| 56 | 2023-08-25 13:23:12 | 28.95 | 92.5% |
| 10 | 2023-07-28 08:48:38 | 28.11 | 94.4% |
| 5 | 2023-07-23 10:45:37 | 24.37 | 91.8% |