Backup or Clean Reddit Account
Project description
Info:
[Backup]: With this functionality 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.
[Clean]: With this functionality you can remove all your activity for example delete all the comments you have done or all the posts you have created. People tell personal information that can lead to someone that knows them or recognize them. Lot of people say or posts things in Reddit that in person no one knows. (Actions can’t be undone)
[Confuse]: Replace your comments and posts text (not title). This is helpful since deleted comments can still be viewed. Results look like screenshot at the end of page. Actions can’t be undone in most cases unless Rollback functionality is activated with while confusing.
Installation:
git clone https://github.com/tsaklidis/subreddits.git cd subreddits pip install -r requirements.txt
Prepare:
First you need to set the praw.ini file.
Rename the praw.ini.example to praw.ini after that create a Reddit app. 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 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
Confuse all your activity
python3 src/cleaner.py -c
Use -rlb option in case you would like use the Rollback feature and restore the confused items
python3 src/cleaner.py -c -rlb
Rollback the confused items
If you changed your mind and you want back your original comments/submissions you can use the rollback feature. The rollback is available only if you confused WITH -rlb option.
python3 src/rollback.py
Delete all your activity.
You will be asked for comments or submissions (posts)
python3 src/cleaner.py -d
After using the confuser, the results are similar to the screen. ![](screens/obf.png)
Changelog:
Changes can be found in the changelog file
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file subreddits-3.tar.gz
.
File metadata
- Download URL: subreddits-3.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df9f29c18e01afda505202eaa4d99aef68abd3e111e7dc76547cdfe7c218f41d |
|
MD5 | 71ff1d64526109ffc5235e01602e4347 |
|
BLAKE2b-256 | 032931381193ab1ed490dfac49545036096a6845230d6f05ba43f916a6726026 |