Created
April 8, 2015 23:17
-
-
Save axiomsofchoice/cad71c79a4121c31a602 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 json | |
for page in range (50): | |
# Must be 100 entries at a time | |
params = (100, 100*page) | |
# Replace axiomsofchoice with your own feed | |
r = requests.get('http://friendfeed-api.com/v2/feed/axiomsofchoice?fof=1&hidden=1&raw=1&num=%d&start=%d' % params) | |
data = r.json() | |
with open('axiomsofchoice_friend_feed_%d_%d.json' % params, 'w') as f: | |
json.dump(data, f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment