reddit-saved-to-notion icon indicating copy to clipboard operation
reddit-saved-to-notion copied to clipboard

A way to export your saved reddit posts to a Notion table.

reddit-saved-to-notion

A way to export your saved reddit posts and comments to a Notion table.Uses notion-sdk-py and praw for interacting with Notion and Reddit respectively.

Also writes your saved posts/comments into a csv file. The saved item is not updated in Notion if it is already present in the csv file. Screenshot

Pre-requisties

  • client_id and client_secret from Reddit. https://github.com/reddit-archive/reddit/wiki/OAuth2-Quick-Start-Example#first-steps
  • Follow the instructions here to get your notion_secret and database_id.
  • Import this notion template

Steps

  • Recommended to run in a virtual environment
  • If you have poetry installed, then execute poetry install
  • Else run pip install -r requirements.txt
  • Rename config_eg.ini to config.ini and fill in the values
  • From the root of the directory run, python3 reddit-saved-to-notion/main.py