Fix slower Zillow unit photo discovery path
This commit is contained in:
@@ -60,7 +60,7 @@ async function collectListingUrl(page) {
|
||||
});
|
||||
}
|
||||
|
||||
export async function discoverHarListing(rawAddress) {
|
||||
export async function discoverHarListing(rawAddress, options = {}) {
|
||||
const address = String(rawAddress || "").trim();
|
||||
const identity = parseAddressIdentity(address);
|
||||
const searchUrl = buildSearchUrl(address);
|
||||
@@ -121,6 +121,7 @@ export async function discoverHarListing(rawAddress) {
|
||||
};
|
||||
},
|
||||
{
|
||||
timeoutMs: Number(options.timeoutMs || 0) || undefined,
|
||||
onTimeout: closeContext
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user