Commit graph

26 commits

Author SHA1 Message Date
Michael Thomas 90e6ac39b2 use the new find_posts, with get_context being used as fallback 2023-03-16 08:25:24 +00:00
Michael Thomas 982d3b3325 use named arguments 2023-03-16 08:02:07 +00:00
Michael Thomas 7165154570 Fix for missing mentions
Fixes #9
2023-03-15 16:42:42 +00:00
Michael Thomas ffc80a5081 Be timezone aware in processing ratelimits 2023-03-15 07:20:49 +00:00
Michael Thomas ce69c2a033 improve output for debugging 2023-03-14 21:13:48 +00:00
Michael Thomas ddfa7cf639 Allow us to get recent followers' posts as well 2023-03-14 10:19:25 +00:00
Michael Thomas 7b265fa6a1 Use a proper wrapper around all the mastodon requests, to ensure they all honour the rate limits, and pass on the correct UA 2023-03-13 12:24:46 +00:00
Michael Thomas 974c7500ff Bit of tidying up 2023-03-13 12:22:15 +00:00
Michael Thomas 382b06abbb Add option to backfill recent followings' posts 2023-03-13 11:00:24 +00:00
Michael Thomas 23b7275907 better link 2023-03-11 08:50:36 +00:00
Michael Thomas 5ed5637173 Provide a User Agent when querying the Mastodon API 2023-03-10 12:30:28 +00:00
Michael Thomas 8f5fff289d fix the bug for seen_urls 2023-03-09 10:14:12 +00:00
Michael Thomas f1dad28084 improved error handling
Fixes #2
2023-03-09 09:04:34 +00:00
Michael Thomas dee0804188 catch in case 'next' link isn't provided 2023-03-09 07:26:31 +00:00
Michael Thomas 464a3317d5 better error handling when getting timeline toots 2023-03-09 07:18:07 +00:00
Michael Thomas 2888185635 deal better with rate limits 2023-03-07 12:47:13 +00:00
Michael Thomas 43bd2a2825 Deal with 404 in get_redirect_url
This should address #1
2023-03-07 11:20:39 +00:00
Michael Thomas 6ee0908906 allow us to disable a portion 2023-03-07 07:11:47 +00:00
Michael Thomas fd8a3404d9 more error handling 2023-03-07 07:09:31 +00:00
Michael Thomas a48fcb096e add some error handling in json parsing 2023-03-07 06:59:21 +00:00
Michael Thomas c47ceecb25 Add some output 2023-03-06 15:22:16 +00:00
Michael Thomas cf45b71946 simplify further 2023-03-06 15:12:25 +00:00
Michael Thomas 2ed179167b fix some stuff 2023-03-06 14:00:05 +00:00
Michael Thomas 45b937e114 fix index 2023-03-06 13:04:44 +00:00
nanos a0d9a89997
Update get_context.py 2023-03-06 12:51:46 +00:00
Michael Thomas 9f259547c0 get started 2023-03-06 12:42:15 +00:00