mirror of https://github.com/x89/Shreddit
commit
01e96903d0
@ -1,10 +1,10 @@
|
|||||||
arrow
|
arrow==0.9.0
|
||||||
decorator
|
decorator==4.0.10
|
||||||
praw==3.6.0
|
praw==3.6.0
|
||||||
PyYAML
|
PyYAML==3.12
|
||||||
requests
|
requests==2.12.1
|
||||||
six
|
six==1.10.0
|
||||||
backports-abc==0.4
|
backports-abc==0.4
|
||||||
tornado==4.3
|
tornado==4.3
|
||||||
update-checker==0.11
|
update-checker==0.15
|
||||||
wheel==0.24.0
|
wheel==0.24.0
|
||||||
|
@ -0,0 +1,83 @@
|
|||||||
|
---
|
||||||
|
# Login details for Reddit. Fill out if you don't wish
|
||||||
|
# to be prompted for a login every time you run Shreddit.
|
||||||
|
### NOTE: This may be deprecated as you can specify in praw.ini instead
|
||||||
|
username:
|
||||||
|
password:
|
||||||
|
|
||||||
|
# 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)
|
||||||
|
hours: 24
|
||||||
|
|
||||||
|
# Max score, higher than this and it'll be kept.
|
||||||
|
max_score: 100
|
||||||
|
|
||||||
|
# Options: new, top, controversial, more?
|
||||||
|
sort: new
|
||||||
|
|
||||||
|
# Enables print statements to notify you of what's going on
|
||||||
|
verbose: True
|
||||||
|
|
||||||
|
# Removes your vote before deleting the item
|
||||||
|
clear_vote: False
|
||||||
|
|
||||||
|
# Options: comments, submitted, overview
|
||||||
|
# See: https://github.com/mellort/reddit_api/blob/master/reddit/objects.py#L359
|
||||||
|
# Overview: both submissions and comments. Comments / Submitted are as expected
|
||||||
|
item: overview
|
||||||
|
|
||||||
|
# Anything in this list won't be deleted, coma delimited
|
||||||
|
# spaces should work as .strip() is called after splitting
|
||||||
|
# on comma.
|
||||||
|
whitelist: [AskScience, TheCulture, redditdev, programming, charity, netsec]
|
||||||
|
|
||||||
|
# If you want any specific posts to be whitelisted stick 'em in here
|
||||||
|
whitelist_ids: []
|
||||||
|
|
||||||
|
# If you set this then no editing or deleting will be done
|
||||||
|
# but the output from the program will be shown as an example
|
||||||
|
trial_run: False
|
||||||
|
|
||||||
|
# Don't delete but *do* edit, could prove... interesting to see a comment
|
||||||
|
# with 5000 upvotes and it's just a lorem ipsum!
|
||||||
|
edit_only: False
|
||||||
|
|
||||||
|
# Ignore distinguished comments.
|
||||||
|
whitelist_distinguished: True
|
||||||
|
|
||||||
|
# Ignore gilded (gold) comments
|
||||||
|
whitelist_gilded: True
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
nuke_hours: 720
|
||||||
|
|
||||||
|
# Save a copy to disk of comments and posts before deleting them.
|
||||||
|
keep_a_copy: False
|
||||||
|
save_directory: /tmp
|
||||||
|
|
||||||
|
# Replacement text format
|
||||||
|
# Defines what you want to edit deleted content with pre-deletion (to ensure
|
||||||
|
# it's not saved in their database).
|
||||||
|
# Default: Random string. But this can be detected as spam in some cases.
|
||||||
|
# options: [random, dot, "user entered string"]
|
||||||
|
replacement_format: random
|
||||||
|
|
||||||
|
# Debug level, how much output you want
|
||||||
|
# See: https://docs.python.org/3/library/logging.html#logging-levels
|
||||||
|
debug: DEBUG
|
||||||
|
|
||||||
|
# Define your own wordlist to use as substitution text when
|
||||||
|
# replacement_format == random
|
||||||
|
wordlist: []
|
||||||
|
|
||||||
|
# Batch cooldown
|
||||||
|
# This controls how long (in seconds) to wait between each set of 1000 deletions.
|
||||||
|
batch_cooldown: 10
|
||||||
|
|
||||||
|
# vim: syntax=yaml ts=2
|
Loading…
Reference in new issue