Skip to main content

Reddit

Reddit is an American social news aggregation, content rating, and discussion website.

Installation and Setup​

First, you need to install a python package.

pip install praw

Make a Reddit Application and initialize the loader with your Reddit API credentials.

Document Loader​

See a usage example.

from langchain.document_loaders import RedditPostsLoader