Last active
February 4, 2023 11:13
-
-
Save svineet/5275860 to your computer and use it in GitHub Desktop.
A script that checks imo results for kinshuks result.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
uri = "http://www.sofworld.org/imo-second-level-result/JH02800800" | |
for i in range(1,10): | |
print i | |
r = requests.get( uri+str(i) ) | |
if "KINSHUK" in r.content: | |
print "Found it! I'm opening it in the browser now" | |
import webbrowser | |
webbrowser.open(uri+str(i)) | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the request module , how did u got it ?