Code Monkey home page Code Monkey logo

export-archive-reddit-saved's Introduction

export-archive-reddit-saved

Pull your Reddit saved posts to view offline, sorted by subreddits

Features

  • Download reddit saved posts
  • View by categories
  • Running again will pull new items

How to:

  • Download or clone repository
  • Install Python 3 and run pip[3] install -r requirements.txt
  • Add your Reddit credentials to config.py
    • To generate credentials:
      • Visit this url: https://www.reddit.com/prefs/apps/
      • Create a new app, name it, select "script"
      • Optionally add description and "about" url
      • Can use this as "redirect" url: http://www.example.com/unused/redirect/uri
      • Save the app, copy the public key under the app name and the secret key into config.py
    • User-agent can be something like "Saved posts scraper by /u/[your_username]"
    • Fill in your username and password
  • Run the file with python[3] redditsave.py
    • Optionally, run redditsave.bat if the above does not work
  • Check for folder named "Redditsaved" in Downloads
  • Browse using the landing page

For Video Guide see here

Known Issues:

  • Unsaving your most recent saved post will cause the re-sync functionality to break
  • If newly synced posts are from new subs, the new sub doesn't get added to the Filter (search/dropdown), but can be viewed by opening the HTML file
  • Comments will be added in the future due to API limitations
  • Saved comments will also be added, delayed due to styling issues

Please open an issue if you find any other issues or have enhancement suggestions.

The contributors of this project claim no responsibility for data losses in your reddit saved posts

export-archive-reddit-saved's People

Contributors

arjunkc avatar noahkiss avatar nooneswarup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

export-archive-reddit-saved's Issues

Pull comments

Hi, I was wondering what needs to be done to pull saved comments as well. What exactly is the limitation of the api, and is there a way to just pull the comment text?

Re-sync functionality

Hey there - noob question here but does this script contain an automatic resyncing functionality or do you have to manually run the python file every time you want to update the html? Not seeing some of my newer saves and am wondering if it's because I have to rerun the script.

Thanks in advance!

Failed try/except block

The try/except block on lines 181 to 194:

The try is failing. The except block is being run. Thus "parent_path" and "child_path" are not being defined. The program runs into that runtime error of not being defined on line 196

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.