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.