How to Pull Your Reddit Saved Posts for Offline Viewing

Oct 24, 2021 | Programming

Have you ever wanted to access your favorite Reddit posts offline? With the export-archive-reddit-saved tool, you can effortlessly pull your saved Reddit posts, sorted by subreddits, and enjoy them anytime, anywhere. In this guide, we will walk you through the steps of downloading, setting up, and using this tool effectively.

Features of the Tool

  • Download Reddit saved posts
  • View by categories
  • Running again will pull in any new items

How to Setup the Tool

Getting started with the tool is simple. Just follow these steps:

  1. Download or clone the repository from the desired source.
  2. Ensure you have Python 3 installed on your machine, then run the command to install dependencies:
  3. pip install -r requirements.txt
  4. Add your Reddit credentials to config.py.
  5. To generate your Reddit credentials:
    • Visit this URL: https://www.reddit.com/prefs/apps
    • Create a new application, giving it a name and selecting the “script” option.
    • Optionally add a description and an About URL.
    • You can use this redirect URL: http://www.example.com/unusedredirecturi
    • Save the app, copy the public key (client ID) under the app name, and the secret key into config.py.
    • Set a user-agent like Saved posts scraper by u[your_username].
    • Fill in your Reddit username and password in config.py.
  6. Run the file with the following command:
  7. python redditsave.py
  8. If the previous command does not work, you can also try running redditsave.bat.
  9. Check for a folder named Redditsaved in your Downloads directory.
  10. Browse your saved posts using the generated landing page.

Understanding the Process Through Analogy

Imagine you’re a librarian who wants to organize a vast collection of books (your saved posts) by category (subreddits). Each book represents a favorite post you want to cherish, and from time to time, new books come in. To set up your library:

  • First, you need to build a strong structure for your library (downloading the repository and installing Python).
  • Then, you need the right catalog (adding Reddit credentials) to identify each book uniquely.
  • As you catalog each book, you note down its genre, so you can easily find your favorite one later (sorting by categories).
  • If you find new books arriving, you can continue to add them to your collection just as you would run the tool again to sync new saved posts.

Troubleshooting Tips

While using the tool, you might face a few issues. Here are some common ones and their solutions:

  • Unsaving your most recent saved post: This may cause the re-sync functionality to break. Ensure you have saved at least one post to avoid this issue.
  • Filtering new subreddits: If newly synced posts come from new subs, they might not get added to the filter (search dropdown). You can still view these by opening the HTML file directly.
  • API Limitations: Comments and saved comments functionality are planned for future releases. Please check back for updates.
  • If you encounter any other issues or have enhancement suggestions, feel free to open an issue in the repository.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Final Thoughts

At fxis.ai, we believe that advancements such as this tool are vital for the future of content accessibility. Our team consistently explores new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox