chore: bumped version to 0.0.31

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-07-06 21:43:15 -07:00
parent 8df8565e0a
commit 1c9ab207ef
56 changed files with 520 additions and 190 deletions

View file

@ -125,9 +125,7 @@ async def test_dedupes_on_canonical_url() -> None:
}
)
await crawl_site(
engine, ["https://e.com/"], max_crawl_depth=3, max_crawl_pages=10
)
await crawl_site(engine, ["https://e.com/"], max_crawl_depth=3, max_crawl_pages=10)
assert engine.calls.count("https://e.com/a") == 1
assert engine.calls.count("https://e.com/") == 1

View file

@ -116,7 +116,12 @@ def test_extract_link_records_dedupes_keeping_first_nonempty_text() -> None:
html = '<a href="/p"><img src="logo.png"/></a><a href="/p">Pricing</a>'
records = extract_link_records(html, "https://example.com/")
assert records == [
{"url": "https://example.com/p", "text": "Pricing", "rel": "", "kind": "internal"}
{
"url": "https://example.com/p",
"text": "Pricing",
"rel": "",
"kind": "internal",
}
]