Created
November 20, 2017 20:05
-
-
Save melowody/11985b6a0ce377e4477df3048aaab107 to your computer and use it in GitHub Desktop.
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 urllib.request, random | |
| y = 0 | |
| while(True): | |
| x = random.randint(0,40000000) | |
| try: | |
| fp = urllib.request.urlopen("http://gdidthingpython.000webhostapp.com/thing.php?id=" + str(x)) | |
| mybytes = fp.read() | |
| mystr = mybytes.decode("utf8") | |
| fp.close() | |
| z = mystr.split("hl hl") | |
| except: | |
| print() | |
| if("Level Not Found" not in mystr): | |
| print(x) | |
| y += 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok