View Pit Stop page for race #4 by dark_thunder — Ghost race
View profile for Tushar (dark_thunder)
Official speed | 45.35 wpm (91.03 seconds elapsed during race) |
---|---|
Race Start | September 20, 2023 11:27:52am UTC |
Race Finish | September 20, 2023 11:29:23am UTC |
Outcome | No win (2 of 3) |
Accuracy | 97.0% |
Points | 27.96 |
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) |