Skip to content

Instantly share code, notes, and snippets.

@axiomsofchoice
Created April 8, 2015 23:17
Show Gist options
  • Save axiomsofchoice/cad71c79a4121c31a602 to your computer and use it in GitHub Desktop.
Save axiomsofchoice/cad71c79a4121c31a602 to your computer and use it in GitHub Desktop.
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