Skip to content

Andreas-SJ/SubredditMemberCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup:

  1. make sure you have python installed

  2. clone this project

  3. go to "https://old.reddit.com/prefs/apps/" and create an app called "Reddit scraper"

  4. under the app creation make sure you mark it as a script and set the redirect url to "http://localhost:8080"

  5. find your client secret and client id under the app you just created

  6. enter your client id and client secret in the designated places in the "config.py" file

  7. then replace "[NAME OF THE SUBREDDIT WITHOUT THE r/]" with the name of the subreddit you wanna see the exact number of members of

  8. save the script by hitting "ctrl+s" on your keyboard

  9. in CMD or the terminal run "cd SubredditMemberCounter"

  10. run "pip -R install Requirements.txt" in CMD or the Terminal

  11. after having ran the cd command enter "python3 Main.py" to run the script

and that's it, to exit press ctrl+c

The script works by gathering the info specified in the script from Reddit's api called PRAW

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages