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_community.document_loaders import RedditPostsLoader

API Reference:


Was this page helpful?


You can leave detailed feedback on GitHub.