davidfic / subreddit_lister

List the subreddits your user is subscribed to. Compare against other usernames you own and update them accordingly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subreddit lister

If you have the issue where you have multiple Reddit user accounts and you would like to make sure that you keep your subreddit subscriptions consistant between your accounts.

Prerequisites

I recommend running this in a VirtualEnv

Run:

pip install -r requirements.txt

That will pull in the necessary Python libraries you'll need.

For this to work you will need to create a personal app in each of your reddit accounts.

Go to the apps page Click the Create another App button Give the app an name, description and put http://localhost in the redirect URL box.

This will show you your client_id info and your client secret.

Copy these down and enter them into the config.py script. Do this for each user you currently have with Reddit.

Usage:

python list_subreddits.py --user=USERNAME

About

List the subreddits your user is subscribed to. Compare against other usernames you own and update them accordingly


Languages

Language:Python 100.0%