RedditWiper
1.0.0
腳本以刪除用戶的reddit發布提交和評論。
此腳本需要Python> 3.6和Praw 。
安裝Python> 3.6並激活虛擬環境後,
pip install praw
或者
pip install -r requirements.txt
編輯reddit_wiper.py以包括以下憑據:
USERNAME, PASSWORD, CLIENT_ID, CLIENT_SECRET
可以通過在reddit上創建應用程序條目來獲得client_id and client_secret:https://www.reddit.com/prefs/apps/
(當您在那裡時,腳本應用程序和http:// localhost:8080,因為重定向URI就足夠了。)
請參閱下面的用法指南(Python Reddit_wiper.py-help)。在沒有任何選項的情況下運行文件將遍歷您的所有reddit註釋和提交,並要求您確認每個刪除。
usage: RedditWiper.py [-h] [-n] [-e] [-c NUMBER_OF_COMMENTS | -C] [-s NUMBER_OF_SUBMISSIONS | -S]
A script to delete your Reddit history.
optional arguments:
-h, --help
show this help message and exit
-n, --noconfirm
Delete without confirming. Confirmation is on by default.
-e, -E, --everything
Delete everything. Other deletion options take precedence.
-c NUMBER_OF_COMMENTS, --comments NUMBER_OF_COMMENTS
Delete comments. Default is 0.
-C, --all-comments
Delete all comments.
-s NUMBER_OF_SUBMISSIONS, --submissions NUMBER_OF_SUBMISSIONS, --posts NUMBER_OF_SUBMISSIONS
Delete submissions. Default is 0
-S, -P, --all-submissions, --all-posts
Delete all submissions.