1
0
mirror of https://github.com/hughrun/ephemetoot synced 2025-01-09 12:32:45 +01:00
Commit Graph

36 Commits

Author SHA1 Message Date
Hugh Rundle
61d0d01f12 use setuptools and add multi-user
Resolves #20 - now uses setuptools for easy installation with pip
Resolves #13 - can now manage multiple accounts
Config file is now in YAML and is passed to script with --config flag
Can now execute from anywhere
2020-04-20 20:14:58 +10:00
Hugh Rundle
ff448a45bd
Update README with correct config values
A couple were missed in the previous update by @rugk
2020-04-08 08:37:24 +10:00
Hugh Rundle
70a0d383c7
Merge pull request #18 from rugk/patch-1
Fix wrong config strings in example file
2020-04-08 08:33:51 +10:00
rugk
0d26b24a7a
Fix doc, too 2020-04-07 20:17:06 +02:00
rugk
b56d7fa71e
Fix wrong config strings in example file
This fixes the errors:
> module 'config' has no attribute 'keep_pinned'

and:
> module 'config' has no attribute 'keep_pinned'
2020-04-07 20:15:56 +02:00
Hugh Rundle
76ace13237 update docs 2020-04-04 19:18:31 +11:00
Hugh Rundle
cb7babc409 update docs 2020-04-04 19:16:07 +11:00
Hugh Rundle
f8d118bbbe resolve #12 - exclude toots with certain hashtags 2020-04-04 18:28:21 +11:00
Hugh Rundle
e3001255c6 update docs 2020-04-04 16:31:31 +11:00
Hugh Rundle
23e907d595 resolve #16 - keep toots based on visibility 2020-04-04 16:27:31 +11:00
Hugh Rundle
1497d96270 fix another README typo 2019-07-24 08:45:35 +10:00
Hugh Rundle
8ff1036db4 fix typo in issue url 2019-07-24 08:43:48 +10:00
Hugh Rundle
df15d903c4 add documentation about utf-8 errors 2019-07-24 08:42:28 +10:00
Hugh Rundle
824a6f7071
Merge pull request #9 from hughrun/rate-limit-errors
Clean up rate limit code, relying on mastodon.py's 'wait' mode, and add notification when limit reached.
2019-05-19 14:47:08 +10:00
Hugh Rundle
cc35769d83
Merge pull request #10 from MarkEEaton/rate-limit-notification
Rate limit notification
2019-05-19 09:41:43 +10:00
Mark Eaton
6354876d53 make rate limit check only for non-test runs 2019-05-13 15:32:10 -04:00
Mark Eaton
2f1a34852e add notification when rate limit reached 2019-05-13 14:33:33 -04:00
Hugh Rundle
6b26940ee9 reformat for nicer code using black 2019-05-12 15:40:15 +10:00
Hugh Rundle
9844486601 Amend rate-limit code and add more exception checking
The commit explicitly sets ratelimit_method to "wait" when initiating Mastodon (though this is the default anyway).
This setting allows mastodon.py to handle rate limits for us instead of having to put logic in ephemetoot to deal with it.

Also added some exception/error checking within the toot checking loop, allowing a second attempt for Mastodon API errors, adding a break after a KeyboardInterupt (Ctrl + C), and printing the errors in some cases to help with debugging.

Finally, there is now a 2 second delay between delete calls, just to be a bit nicer to the endpoint server.
2019-05-12 15:34:15 +10:00
Hugh Rundle
9faf31612c updated README 2019-05-10 10:09:41 +10:00
Hugh Rundle
bb1f7ffecf fix #7 - comply with API rate limit 2019-05-10 07:58:59 +10:00
Hugh Rundle
357455126c update copyright and README 2019-03-08 16:16:00 +11:00
Hugh Rundle
eb0d055275
Merge pull request #3 from MarkEEaton/test-run-argparse
add test run functionality
2019-03-08 15:49:31 +11:00
Mark Eaton
1ef97cfc12 test-run works for reblogs too 2019-03-05 19:08:52 -05:00
Hugh Rundle
6b39f5b8e6
Merge pull request #2 from MarkEEaton/master
run black on ephemetoot.py to improve code readability
2019-02-15 10:24:32 +11:00
Mark Eaton
a3b9fa6b56 add the ability to do a test run 2019-02-13 23:22:35 -05:00
Mark Eaton
6082441e9e run black on ephemetoot.py 2019-02-13 16:59:57 -05:00
Hugh Rundle
0d6900eb26
Merge pull request #1 from MarkEEaton/master
Handle IndexError and some boilerplate
2019-01-11 07:36:44 +11:00
Mark Eaton
bc054a6918 add some standard python boilerplate 2019-01-10 10:59:51 -05:00
Mark Eaton
92643271d5 handle IndexError when there are no toots in the timeline 2019-01-10 10:57:43 -05:00
Hugh Rundle
3af1296b83 minor typo in readme 2018-12-25 08:29:05 +11:00
Hugh Rundle
8004ce3b0c improved description in README and fixed typos 2018-12-25 08:27:19 +11:00
Hugh Rundle
00fbbff33b fixed typo in README 2018-12-24 15:40:58 +11:00
Hugh Rundle
cf670ea79e updated README 2018-12-24 15:35:55 +11:00
Hugh Rundle
96085e499c added .gitignore 2018-12-24 15:32:33 +11:00
Hugh Rundle
483abc9041 first commit 2018-12-24 15:30:56 +11:00