Give the test readers a READS, a dated robots record and the search params the contract now requires
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
fe2a1b0347
commit
a221625eff
2 files changed
+7
-2
No files matched your search
@@ -64,8 +64,11 @@ PATTERNS = (r"good\\.example/([a-z]+)",)
|
||||
def slug_ok(slug): return True
|
||||
def allowed(slug): return lambda h: h == "good.example"
|
||||
def careers_url(slug): return "https://good.example/" + slug
|
||||
def feed_url(slug): return "https://good.example/" + slug + ".json"
|
||||
def feed_url(slug, ask): return "https://good.example/" + slug + ".json"
|
||||
def parse(body, slug): return []
|
||||
from plugins.readers import Reads
|
||||
READS = Reads(scope="board", listing="whole", text="listing", complete="whole", places="one",
|
||||
robots="read (checked 2026-09-30)")
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user