
Scraping Reddit data
As its name suggests, PRAW is a Python wrapper for the Reddit API, which enables you to scrape data from subreddits, create a bot, and much more. In this article, we will learn how to use PRAW to scrape posts from different subreddits and get comments from a specific post. Getting Started PRAW can be installed using pip or conda: pip install praw or conda install -c conda-forge praw Now PRAW can be imported by writing: ...