Prefer structured Zillow photo data before click path

This commit is contained in:
2026-03-28 03:30:42 -05:00
parent 54854edfc6
commit 446d43cc78
5 changed files with 75 additions and 13 deletions

View File

@@ -157,8 +157,9 @@ The discovery scripts are purpose-built for the common address-to-listing workfl
The photo scripts are purpose-built for the common `See all photos` / `Show all photos` workflow:
- open the listing page
- click the all-photos entry point
- wait for the resulting photo page or scroller view
- on Zillow, first inspect the rendered listing shell for a complete structured `__NEXT_DATA__` photo set
- only force the all-photos click path when the initial Zillow page data is incomplete
- wait for the resulting photo page or scroller view when the click path is actually needed
- extract direct image URLs from the rendered page
- fail fast with a timeout instead of hanging indefinitely when the browser-backed extraction stalls
- support longer source-specific timeouts when a caller such as `property-assessor` imports them for slower exact-unit Zillow renders