A simple python script that downloads trending images from any subreddit. Uses PRAW library to communicate with Reddit.
In order to access the Reddit Api you will need your own Client ID and Client Secret. To get them follow these steps:
- Login into your Reddit account.
- Go to this link and press the 'create an app' button on the bottom.
- Give a random name, description and url for your app. Choose 'script' in the app type section.
- Now you will be able to find your Client ID and Client Secret.
Make sure to have installed these libraries before executing the program.
- Clone the repository into your workspace.
- Open 'config.ini' file with your favorite text editor and add your Client Info to the right fields before saving the file.
- Execute 'Reddit_image_scraper.py' by clicking on it or opening it in a command line.
- Enter the name of the desired subreddit and the number of images to download.