Karan Jain (karanjain18)

Race #230

View Pit Stop page for race #230 by karanjain18Ghost race

View profile for Karan Jain (karanjain18)

Official speed 54.73 wpm (74.11 seconds elapsed during race)
Race Start April 3, 2020 11:30:04am UTC
Race Finish April 3, 2020 11:31:18am UTC
Outcome Win (1 of 3)
Accuracy 97.0%
Points 33.75
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)