Skip to content

Instantly share code, notes, and snippets.

@amxn
Forked from mduvall/reddit_saved_stories.py
Created November 28, 2011 06:18
Show Gist options
  • Save amxn/1399337 to your computer and use it in GitHub Desktop.
Save amxn/1399337 to your computer and use it in GitHub Desktop.
just grab all your saved stories on reddit with python wrapper lib
import reddit, getpass
if __name__ == "__main__":
r = reddit.Reddit(user_agent="test")
user_name = raw_input("User name: ")
password = getpass.getpass("Password: ")
r.login(user=user_name,password=password)
saved_links = r.get_saved_links()
for link in saved_links:
print "Title: " + link.title
print "\tLink: " + link.url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment