Skip to content

Simple program that downloads pictures from a specified subreddit.

License

Notifications You must be signed in to change notification settings

D3vd/Reddit_Image_Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Image Scraper

A simple python script that downloads trending images from any subreddit. Uses PRAW library to communicate with Reddit.

Setup

In order to access the Reddit Api you will need your own Client ID and Client Secret. To get them follow these steps:

  1. Login into your Reddit account.
  2. Go to this link and press the 'create an app' button on the bottom.
  3. Give a random name, description and url for your app. Choose 'script' in the app type section.
  4. Now you will be able to find your Client ID and Client Secret.

Client Info

Packages Used

Make sure to have installed these libraries before executing the program.

Usage

  • 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.

Screenshots

Demo

Result

About

Simple program that downloads pictures from a specified subreddit.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages