Skip to content

Instantly share code, notes, and snippets.

@svineet
Last active February 4, 2023 11:13
Show Gist options
  • Save svineet/5275860 to your computer and use it in GitHub Desktop.
Save svineet/5275860 to your computer and use it in GitHub Desktop.
A script that checks imo results for kinshuks result.
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
@anurag-ks
Copy link

the request module , how did u got it ?

@anurag-ks
Copy link

could you explain me ??

@svineet
Copy link
Author

svineet commented Feb 4, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment