11 Commits

Author SHA1 Message Date
Alessio
08e5a726a8 Remove most uses of the singleton pattern in 'scraper' package 2024-08-19 16:45:32 -07:00
Alessio
24129c4852 REFACTOR: reduce technical debt, particularly that caused by singleton pattern in pkg/scraper
- ensure all scraper functions have a `api.XYZ` version and a package-level convenience function
	- isolate `the_api` to top-level convenience functions, in preparation for removal
- move a bunch of scraper functions around to be nearby their related functions
- new ErrLoginRequired
- remove obsolete APIv1 stuff (Feed, TweetDetail)
- rename scraper function GetUserFeedGraphqlFor => GetUserFeed
- fix go.mod Go version incorrectly claiming it's compatible with Go 1.16 (should be Go 1.17)
2024-08-09 19:48:50 -07:00
Alessio
b4384f9cc4 Enable sending emoji reactions in DMs 2024-07-28 14:09:41 -07:00
Alessio
98015ddf0c REFACTOR: remove DMTrove type, merge it into TweetTrove 2024-07-28 08:01:58 -07:00
Alessio
f927507089 Enable marking DMs as read 2024-05-10 22:09:48 -07:00
903483e305 Add function to send DMs 2023-11-26 21:25:04 -08:00
c6d0bbce65 Add polling for DM updates while webserver is running 2023-11-19 13:51:16 -08:00
ae01208cde Add 'fetch_dm' subcommand 2023-11-19 10:43:35 -08:00
520b9e366a Make fetch_inbox command respect the -n flag 2023-11-18 16:26:03 -08:00
186cea5f1c REFACTOR: a bunch of miscellaneous spacing and formatting improvements 2023-11-12 12:53:56 -08:00
ef72de76e0 Rebase DMs, updating for rename of 'scraper' to 'pkg/scraper' 2023-11-07 15:04:47 -04:00