-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to save the posts before shredding them? #25
Comments
What format do you mean? At the moment I have a cron job that saves the output (when Do you mean a single file? SQLite database? |
I am working on a solution by serializing the json_dict as json in txt files. It's good enough for me. |
Defined get_sentence() on windows. Changed utcnow to now because praw's utc time is actually in current timezone. line 125 Removed u prefix from random string. line 167
Test please https://github.com/pteek/Shreddit/tree/dump |
Changed utcnow to now because praw's utc time is actually in current timezone. line 125 Removed u prefix from random string. line 167
It looks good on the surface. One thing though, the comment "Saving a copy" should only be printed if keep_a_copy is true (otherwise it's confusing to users that don't have it enabled, and as the primary aim of the program is deleting the user should be informed when it happens regardless.) |
Changed utcnow to now because praw's utc time is actually in current timezone. line 125 Removed u prefix from random string. line 167
Throw up a PR if you want me to check it over and incorporate it into here! |
So we can have a personal account of the history. Self-posts, links and comments.
This should be fairly easy to implement.
The text was updated successfully, but these errors were encountered: