Created
March 19, 2015 15:33
-
-
Save umurkontaci/8179528fdbd96cf869aa to your computer and use it in GitHub Desktop.
rainforest
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 | |
def follow(): | |
u = 'http://letsrevolutionizetesting.com/challenge?id=831657532' | |
while u: | |
print u | |
res = r.get(u, headers={'Accept': 'application/json'}) | |
u = res.json().get('follow', None) | |
print res.json() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment