Skip to content

Instantly share code, notes, and snippets.

@artgibson
Forked from dokipen/gist:1790465
Created February 10, 2012 16:12
Show Gist options
  • Save artgibson/1790538 to your computer and use it in GitHub Desktop.
Save artgibson/1790538 to your computer and use it in GitHub Desktop.
import requests
import sys
for q in range(1,3):
for i in range(1,10000):
response = requests.post('http://apply.embed.ly/%s' % q, data={'answer': str(i)})
if response.status_code == 302:
print 'question: %, answer: %s' % (q, i)
sys.exit(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment