Add scheduler, rate limiting and headless mode.

Hard-coded 60s URL and 10s host floors with jitter and per-host
backoff, shared between dibs processes through a locked state file.
The scheduler shuffles due URLs each round and runs one worker per
host; 'dibs --headless' watches and logs JSON.
This commit is contained in:
Overlord committed 2026-10-14 09:04:15 +02:00
1 parent bb010356a0
commit 2175c0e5aa
30 files changed
+1434 -126

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
# Real Amazon pages the amazon plugin is tested on. `dibs fixtures` fetches
# them into pages/ (not tracked), together with the report dibs made for
# each. Pages change: when a case stops showing what its note says, pick
# another product.
# each. Pages change over time, so a case that stops showing what its note
# says needs another product.
#
# Still wanted: a page sold by Amazon itself, and a preorder.
# No case covers a page sold by Amazon itself or a preorder yet.
[[case]]
name = "out-of-stock-de"