fix: make the first live crawl actually work #10
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
TJC/mealplan-mcp!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/scraper-db-address"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Everything here was found by running the first real crawl behind the VPN. All four would have shipped silently.
/chicken-recipes/chicken-date-tamarind-curry), soTrim('/')producedchicken-recipes/...and every detail fetch 404'd. The first crawl stored 5 list pages and zero recipes while reporting success. The detail payload's ownurlhas no prefix, which is exactly what the old tests used - they were written against the wrong sample. Slug tests are now driven by the captured list pagedocuments_fetchedanddocuments_changedwere set on the returned object afterCompleteAsync, so every stored run read 0 - a crawl that fetched nothing looked identical to one that workeddbdoes not resolve there. Turning DoT off would fix names by sending every public lookup through the host resolver, outside the tunnel - so both services connect to a pinned address instead. This also fixes the MCP container, where a hostresolv.confcarryingndots:0plus a search domain broke short names independently.env.examplenotes that gluetun refuses an IPv6 interface address unless the daemon has IPv6 enabled - which is how the very firstupfailedVerified against the live stack
172.28.0.10goes outeth0,1.1.1.1goes outtun0crawl gousto --max 6-> 6 fetched, 5 changed, no fetch failures, 5 real recipe documents storednormalize gousto-> 5 done, 6 not applicable, 0 failedsearch_recipesfor "steak" returned two real Gousto recipes with prep times and calories;get_recipereturned allergens, pantry items, 8 steps, and the caveat that Gousto publishes no quantities