Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
/ reddit-resub Public archive
forked from x89/reddit-resub

Export / import subreddits from a Reddit account.

Notifications You must be signed in to change notification settings

LuaKT/reddit-resub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

reddit-resub

Export / import subreddits from a Reddit account.

Useful when you create a new user account, or if you want to drop the default subreddit subscriptions or maybe you only read /r/IAmA on a Thursday but read all the /r/Ask* subreddits on Saturday.

Usage Instructions

usage: reddit.py [-h] [--import] [--user USER] [--file FILE]

Resubscribe to your old subreddits.

optional arguments:
  -h, --help            show this help message and exit
  --import, -i          Specify -i to import to the user Default is to save
                    from a user (safe).
  --user USER, -u USER  Reddit username.
  --file FILE, -f FILE  Provide a filename to use.

Example Usage

  • Save user x89's subreddits to file abc.subs

    python reddit.py --user x89 --file abc.subs

  • Import the subreddits listed in abc.subs to user x78

    python reddit.py --import --user x78 --file abc.subs

  • Set up environment

 git clone https://github.com/x89/reddit-resub
 cd reddit-resub
 virtualenv . -p python3
 source bin/activate
 pip install -r requirements.txt

About

Export / import subreddits from a Reddit account.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%