In order to scrape redditwe made use of the PRAW (Python Reddit API Wrapper).
Pre-requisites:-
Python 3.x installed on your system PRAW library installed. You can install it via pip.
Edit the reddit_scraper.py file to specify your Reddit API credentials.