David John
5214d6ea07
Optimise and minor bug fix random string generation
8 years ago
David John
6720a1e5d7
Debug level added to config
8 years ago
dragsubil
ef0e933a7b
Major readme update, couple of backslashes removed
...
In Readme.md:
- Updated the readme to include instructions for Windows users.
- Added instructions for OAuth2 (copied from inside the get_secret.py with
some modifications).
- Added a warning for possible future deprecation of the password based
authentication.
In shreddit.py:
- removed \ which was used for wrapping in the next line. Used paranthesis
and '''multiline string''' where needed.
In requirements.txt:
- changed praw==3.3.0 to 3.5.0
9 years ago
Naypam
3fcbfb101a
Added the ability to toggle edit text with a static or random value, or user entered input
9 years ago
Cereal Killer
f1da5974f0
fix loading config when passed on the command line
9 years ago
Naypam
93b3fb55e9
Initial YAML based configuration
9 years ago
Naypam
3ea6b0f4e6
Merged rtgigbbons patch 2
9 years ago
Ryan Gibbons
f7606dd056
Run save_directory even in trail_run
...
Might have another config option to make this an optional state?
9 years ago
Ryan Gibbons
fb79760404
Use INFO when logging during trail_run
...
I was confused when first setting up, by default trail_run is set to True, as is verbosity. But nothing is outputted and took a bit to figure out what was going on. Moving this to an INFO instead of a DEBUG makes much more sense.
9 years ago
David Trail
e3bea5dfb3
This wasn't even needed
9 years ago
David Trail
38de541513
I don't think we actually can iterate over > 1000
9 years ago
David Trail
0457f07dbb
pep8 compliance
9 years ago
David Trail
21b311c8d1
use logging instead of verbose
9 years ago
David Trail
b46dd0a3be
Dat space
9 years ago
Alex
07902a54a0
Added ascii encoding for trial_run output
9 years ago
David Trail
3185d7b96e
Back to no limit, was changed to 100 for testing the OAuth params
9 years ago
David Trail
ee31bc89cf
Need 'history' OAuth2 access now.
9 years ago
Deniz Dogan
7b4c3b1d1d
Fix: didn't remove all content
9 years ago
David Trail
ab2680ea8a
Issue brought up on youtube video by InzMovi
10 years ago
David Trail
9b1c0663f8
Iterate while things were removed, combat the max 100 issue.
10 years ago
David Trail
2e9beb1d91
OAuth 2 login support. see get_secret.py and praw.ini.example
10 years ago
x89
ec0452983f
Check for TypeError (in case NoneType if the max_points entry hasn't been added yet)
10 years ago
Dave Disser
7965ccad00
Add save_directory parameter to backup comment in JSON format.
10 years ago
Dave Disser
c16b28e99c
Add max_score parameter to only delete comments with this score
...
or less.
10 years ago
Dave Disser
e682468eb3
Move trial_run check to after gilded & and distinguished check,
...
since these comments would erroneously be indicated for deletion
by trial mode.
10 years ago
x89
8b8bdfb7c0
UTF-8 on the Submission URL print
10 years ago
x89
6e4abff74a
Removed buggy and superflous code.
10 years ago
x89
b3cc8a4f5f
Bug where text files for saving copies were being created even with saving set to false.
10 years ago
x89
2658074f47
Merged changed from pteek with fixes.
10 years ago
pteek
09cdcb4c71
#25 Fix a print
10 years ago
pteek
8bc863db83
#25 Added json dump for submissions
...
Changed utcnow to now because praw's utc time is actually in current
timezone. line 125
Removed u prefix from random string. line 167
10 years ago
x89
75c9f0e987
Improved get_sentence syntax, works on non-unix systems
10 years ago
David Trail
d1a0ffe0f5
Nuke option for older comments
10 years ago
David Trail
bc1bd47411
Better user-agent
10 years ago
David Trail
c9e9af9801
Oopsie typo
10 years ago
David Trail
2a184b5853
No FileNotFoundError on Python 3
10 years ago
David Trail
e968036137
Distingused / gilded ignore option.
10 years ago
Drew Crawford
c9874873c9
Use of a binary string was necessary in py3.4 to avoid throwing an exception
...
There appears to be a mismatch here between the regex and the string being searched, this resolves it
Not tested on earlier versions of python
10 years ago
David Trail
27f39974b4
Random words to replace the now broken loremipsum module, a few tidyups
10 years ago
Mark Rawlingson
c7ba6ac784
encoding message body to utf-8 - chars such as é cause an exception
10 years ago
David Trail
c8eeacbda7
Missed those tabs when converting to python 3
11 years ago
David Trail
b2005e49da
Oops, missed a line in python 3 translation.
11 years ago
David Trail
551746f1e9
Python 3, PEP 8 compliance, general refactoring
11 years ago
David Trail
792bbd2537
Python file ending, gitignor for virtualenv
11 years ago
David Trail
9a725fa06e
more appropriate name for the grabber
13 years ago
David Trail
0308e02608
Initial obtaining of user data.
13 years ago