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 |
|---|---|---|---|
| 61 | 2025-01-17 11:22:08 | 35.83 | 99% |
| 41 | 2024-12-16 08:44:36 | 36.77 | 97% |
| 18 | 2024-12-16 07:48:07 | 35.20 | 99% |
| 12 | 2024-12-16 07:38:00 | 29.78 | 95% |
| 4 | 2024-12-11 11:27:18 | 30.25 | 97% |