Commit graph

25 commits

Author SHA1 Message Date
Ethan Dalool
5adc0943aa Use pushshift's /meta endpoint to discover ratelimit. 2020-09-06 21:42:30 -07:00
Ethan Dalool
e136aeea4e Log the size of received batches from pushshift. 2020-09-06 21:41:44 -07:00
Ethan Dalool
83d5a8e70e Fix retry loop not breaking after successful try! 2020-09-06 21:31:46 -07:00
Ethan Dalool
4a61d820b3 Add skewer-case aliases for snake_case arguments. 2020-08-12 10:24:31 -07:00
Ethan Dalool
1132c0aee1 Remove unnecessary import requests from merge_db. 2020-05-21 22:30:12 -07:00
Ethan Dalool
10699893ea Allow get_comments to create the database.
This was false because prior to Pushshift, commentaugment worked by
reading the comments tree on every submission, and thus couldn't be
done first. Now, I think there's nothing wrong with getting comments
before submissions.
2020-05-12 18:19:46 -07:00
Ethan Dalool
b98f096fd4 Replace "> timesearch.py" with "python timesearch.py"
The bracket was meant to look like the command prompt, but for
linux users they would be more used to $ or #, and for people who
do not use the command line often they may be confused by it
altogether. This change should help make it a little more clear as
to what's going on.
2020-04-22 23:25:42 -07:00
Ethan Dalool
45f6e36fad Add some whitespace between these parts of the help summary. 2020-02-08 21:10:48 -08:00
Ethan Dalool
d027cce562 main should return args.func(args) value. 2020-02-08 16:20:19 -08:00
Ethan Dalool
263232e0a0 I keep forgetting I have a version number. 2020-02-08 15:51:59 -08:00
Ethan Dalool
dd38e0c8da Print a helpful message when bot.py or bot4.py isn't found. 2020-02-08 15:51:45 -08:00
Ethan Dalool
5345e8f4fc Use betterhelp to manage docstrings, aliases, and helptexts. 2020-01-30 23:25:24 -08:00
Ethan Dalool
31296000f9 Alphabetize & organize helptexts with new names. 2020-01-27 20:13:01 -08:00
Ethan Dalool
02b2dc166e Fix docstring incorrectly referring to constants. 2020-01-27 20:09:02 -08:00
Ethan Dalool
24f155a40d Update OutOfDate message to show actual argument. 2020-01-27 20:00:08 -08:00
Ethan Dalool
d12e66f19c DB v2. Rename redmash folder to index. 2020-01-27 19:53:27 -08:00
Ethan Dalool
0ef423d780 Create _first_time_setup, _load_pragmas, and _check_version. 2020-01-27 19:51:23 -08:00
Ethan Dalool
ecfb96820c Correct index helptext to say index instead of mash. 2020-01-27 19:21:41 -08:00
Ethan Dalool
1fb281bf7f Rename mergedb.py -> merge_db.py. 2020-01-27 18:57:06 -08:00
Ethan Dalool
d2220a3ced Rename getwiki.py -> get_wiki.py. 2020-01-27 18:54:04 -08:00
Ethan Dalool
6b0dd55431 Rename getstyles.py -> get_styles.py. 2020-01-27 18:53:19 -08:00
Ethan Dalool
2022db2b0c Rename redmash.py -> index.py. 2020-01-27 18:45:36 -08:00
Ethan Dalool
744dadd3ee Rename commentaugment.py -> get_comments.py. 2020-01-27 18:41:58 -08:00
Ethan Dalool
75648343e2 Rename timesearch.py -> get_submissions.py. 2020-01-27 18:39:54 -08:00
Ethan Dalool
b3db322a78 Rename timesearch directory -> timesearch_modules.
This marks the first in a long series of rename commits.
Hold on to your databases!
2020-01-27 18:32:05 -08:00