Skip to content

Instantly share code, notes, and snippets.

@jmnwong
Created April 14, 2014 20:57
Show Gist options
  • Save jmnwong/10682264 to your computer and use it in GitHub Desktop.
Save jmnwong/10682264 to your computer and use it in GitHub Desktop.
import requests
url='http://www.letsrevolutionizetesting.com/challenge.json'
r = requests.get(url)
print r.text
while 'follow' in r.json():
result=r.json()['follow']
numid=result.split('?')[1]
print numid
r = requests.get(url+'?'+numid)
print r.text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment