With this script you can export all your subreddits. Sometimes you need a new account but want to keep all the subs you follow. Most of the time this is a boring job.
git clone https://github.com/tsaklidis/subreddits.git
cd subreddits
pip install -r requirements.txt
First you need to set the praw.ini file.
- Rename the praw.ini.example to praw.ini after that create a Script Reddit app per account. In order to ask the Reddit for data you need an app so use the following link: https://www.reddit.com/prefs/apps/
- Fill a name for the app. The type should be set to script and redirect uri http://localhost:8080 The script will be working locally, no worries for the uri.
- After creating the app we need the credentials. client_id is right under the app name and client_secret is the secret key.
- Get credentials for old and new accounts.
- Fill the data in praw.ini file
Export the subreddits from your old account
python3 src/main.py -e
Import to your new account
python3 src/main.py -r
Export and Import with one run
python3 src/main.py -o