mirror of https://github.com/x89/Shreddit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.8 KiB
61 lines
1.8 KiB
9 years ago
|
---
|
||
12 years ago
|
# Login details for Reddit. Fill out if you don't wish
|
||
|
# to be prompted for a login every time you run Shreddit.
|
||
10 years ago
|
### NOTE: This may be deprecated as you can specify in praw.ini instead
|
||
9 years ago
|
username: null
|
||
|
password: null
|
||
12 years ago
|
|
||
13 years ago
|
# How many hours of comments you want to keep
|
||
|
# 24 hours in a day,
|
||
|
# 168 hours in a week,
|
||
|
# 672 hours in two fortnights,
|
||
|
# 720 hours in a month (30 days),
|
||
|
# 8766 hours in a year (365.25 days)
|
||
9 years ago
|
hours: 24
|
||
13 years ago
|
|
||
|
# Options: new, top, controversial, more?
|
||
9 years ago
|
sort: new
|
||
13 years ago
|
|
||
|
# Enables print statements to notify you of what's going on
|
||
9 years ago
|
verbose: False
|
||
13 years ago
|
|
||
|
# Removes your vote before deleting the item
|
||
9 years ago
|
clear_vote: False
|
||
13 years ago
|
|
||
12 years ago
|
# Options: comments, submitted, overview
|
||
13 years ago
|
# See: https://github.com/mellort/reddit_api/blob/master/reddit/objects.py#L359
|
||
13 years ago
|
# Overview: both submissions and comments. Comments / Submitted are as expected.
|
||
9 years ago
|
item: submitted
|
||
13 years ago
|
|
||
|
# Anything in this list won't be deleted, coma delimited
|
||
|
# spaces should work as .strip() is called after splitting
|
||
|
# on comma.
|
||
9 years ago
|
whitelist: AskScience, TheCulture, redditdev, programming, charity, netsec
|
||
13 years ago
|
|
||
|
# If you want any specific posts to be whitelisted stick 'em in here
|
||
9 years ago
|
whitelist_ids:
|
||
12 years ago
|
|
||
|
# If you set this then no editing or deleting will be done
|
||
|
# but the output from the program will be shown as an example
|
||
9 years ago
|
trial_run: False
|
||
12 years ago
|
|
||
|
# Don't delete but *do* edit, could prove... interesting to see a comment
|
||
|
# with 5000 upvotes and it's just a lorem ipsum!
|
||
9 years ago
|
edit_only: False
|
||
10 years ago
|
|
||
|
# Ignore distinguished comments.
|
||
9 years ago
|
whitelist_distinguished: True
|
||
10 years ago
|
|
||
10 years ago
|
# Ignore gilded (gold) comments
|
||
9 years ago
|
whitelist_gilded: True
|
||
10 years ago
|
|
||
|
# Delete everything older that this date, **This ignores whitelists**.
|
||
|
# Can be used as a second deletion, as in "delete items older than 24 hours
|
||
|
# except on whitelisted subreddits but after 3 months delete everything.
|
||
9 years ago
|
nuke_hours: 720
|
||
10 years ago
|
|
||
9 years ago
|
# Save a copy to disk of comments and posts before deleting them.
|
||
|
keep_a_copy: False
|
||
10 years ago
|
|
||
9 years ago
|
# vim: syntax=yaml ts=2
|