Created
February 10, 2012 15:59
-
-
Save dokipen/1790465 to your computer and use it in GitHub Desktop.
This file contains 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 | |
import sys | |
for i in range(1,10000): | |
response = requests.post('http://apply.embed.ly/1', data={'answer': str(i)}) | |
if response.status_code == 302: | |
print i | |
sys.exit(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ha ha ha... nice one :)