Skip to content

Instantly share code, notes, and snippets.

@mduvall
Created November 10, 2011 20:12
Show Gist options
  • Save mduvall/1356033 to your computer and use it in GitHub Desktop.
Save mduvall/1356033 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