View Pit Stop page for race #1 by mehrshadk05 — Ghost race
View profile for bokonet (mehrshadk05)
Official speed | 34.62 wpm (119.24 seconds elapsed during race) |
---|---|
Race Start | May 26, 2023 5:42:19pm UTC |
Race Finish | May 26, 2023 5:44:18pm UTC |
Outcome | Win (1 of 2) |
Accuracy | 95.0% |
Points | 21.35 |
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) |