Commit graph

31 commits

Author SHA1 Message Date
SkyfallWasTaken
25cef90288 Run every 20 minutes, send user agent 2024-07-09 22:11:31 +01:00
SkyfallWasTaken
c20a2a3a88 Add extra newline 2024-07-07 11:18:34 +01:00
SkyfallWasTaken
7fd634203a Fix Slack webhook 2024-07-07 11:13:14 +01:00
SkyfallWasTaken
39026e7a31 Fix Slack webhook 2024-07-07 09:07:50 +01:00
SkyfallWasTaken
9abdff79f5 Use pretty_assertions, fix deleted items notification test 2024-07-03 18:06:11 +01:00
SkyfallWasTaken
2c511eead9 Add deletion test 2024-07-03 18:02:46 +01:00
SkyfallWasTaken
5355a628ef Split diffing logic into seperate function 2024-07-03 17:56:38 +01:00
SkyfallWasTaken
d993eb695a Check for deleted items 2024-07-03 17:46:06 +01:00
SkyfallWasTaken
142a7fbb52 Remove leading underscore from used variable 2024-07-02 17:56:23 +01:00
SkyfallWasTaken
4c34f69a79 Placate clippy 2024-07-02 17:55:45 +01:00
SkyfallWasTaken
2bacb34e84 Add cron trigger 2024-07-02 17:55:18 +01:00
SkyfallWasTaken
a358ce3870 Add license and readme 2024-07-01 20:15:26 +01:00
SkyfallWasTaken
507e1024d2 Remove a few unwraps 2024-07-01 19:38:52 +01:00
SkyfallWasTaken
4c09b8e3cd Push to Slack Webhook 2024-07-01 19:36:17 +01:00
SkyfallWasTaken
eb251ae927 Send to Slack webhook 2024-07-01 19:30:13 +01:00
SkyfallWasTaken
984c9c2d49 Add KV namespace to wrangler.toml 2024-07-01 19:18:15 +01:00
SkyfallWasTaken
541ccab07c Add reference to appease the compiler 2024-07-01 19:13:42 +01:00
SkyfallWasTaken
42cc05dbab Refactor format.rs for better code organization and naming consistency 2024-07-01 19:13:11 +01:00
SkyfallWasTaken
4084eb4568 Persist to KV 2024-07-01 18:53:28 +01:00
SkyfallWasTaken
50629e6a3b Use indoc to clean up format_new_item 2024-07-01 18:39:26 +01:00
SkyfallWasTaken
3da38ffaa5 Add format_new_item function 2024-07-01 18:34:24 +01:00
SkyfallWasTaken
f799353aae Rename diff.rs to format.rs 2024-07-01 18:31:33 +01:00
SkyfallWasTaken
fbf7134ff6 Remove "Item updated" message from every single item diff 2024-07-01 18:27:59 +01:00
SkyfallWasTaken
88107872e9 Add more tests for diffing algo 2024-07-01 18:24:52 +01:00
SkyfallWasTaken
01ea8485e8 Clean up test 2024-07-01 18:20:32 +01:00
SkyfallWasTaken
3d7a3a9d44 Add diffing algorithm 2024-07-01 18:16:14 +01:00
SkyfallWasTaken
4aad2a3228 Add stock info to scraper 2024-07-01 18:00:37 +01:00
SkyfallWasTaken
4995a1e172 Move items scraper to items.rs 2024-07-01 17:57:09 +01:00
SkyfallWasTaken
2dd99c3c31 Re-enable wasm-opt 2024-07-01 17:49:20 +01:00
SkyfallWasTaken
0db502e835 Start printing out items 2024-06-29 13:09:42 +01:00
SkyfallWasTaken
ab4ebcf521 Get items from Arcade Shop 2024-06-29 13:02:50 +01:00