15 Commits

Author SHA1 Message Date
Alessio
cb0b478c08 REFACTOR: apply dependency injection change (whole API object -> just the downloader function) to 'SaveTweetTrove' method 2025-02-03 21:58:53 -08:00
Alessio
efe453dbe3 Fix lint errors 2025-02-02 20:38:43 -08:00
Alessio
f7b0c4a427 Add background scraping jobs for Bookmarks and logged-in user's User Feed 2025-02-02 20:23:55 -08:00
Alessio
29666bd51b Fix lint error 2024-12-22 08:08:47 -08:00
Alessio
ff638bd543 REFACTOR: create a BackgroundTask abstraction 2024-12-22 08:03:12 -08:00
Alessio
14ea626014 Show unread notifications count bubble in web UI; add background scraping of notifications every 10s 2024-09-02 17:00:30 -07:00
Alessio
e2ca9a975a Remove scraper singleton pattern entirely 2024-08-19 17:27:54 -07:00
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
98015ddf0c REFACTOR: remove DMTrove type, merge it into TweetTrove 2024-07-28 08:01:58 -07:00
018df0d6a4 Rename 'for you' timeline to 'following only' to match Twitter's upstream changes
- Also add 'get_user_likes_all' cmd subcommand to get all users likes
2024-02-18 14:47:12 -08:00
fee47205ec Move content downloading to the background when scraping 2023-11-26 22:13:47 -08:00
c6d0bbce65 Add polling for DM updates while webserver is running 2023-11-19 13:51:16 -08:00
cefe8fc939 Add background scraping of logged-in user's Likes 2023-11-07 12:28:56 -04:00
8349ca4ae3 Add background scraping of the logged-in user's home timeline 2023-08-27 21:05:09 -03:00