fix: search GTA only

Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
2025-09-17 22:57:42 -04:00
parent 46a8ac92cf
commit 2e9547ebaa

View File

@@ -289,7 +289,7 @@ export default async function fetchKijijiItems(
) {
const DELAY_MS = Math.max(1, Math.floor(1000 / REQUESTS_PER_SECOND));
const searchUrl = `${BASE_URL}/b-canada/${encodeURIComponent(SEARCH_QUERY)}/k0l0?dc=true&view=list`;
const searchUrl = `${BASE_URL}/b-gta-greater-toronto-area/${encodeURIComponent(SEARCH_QUERY)}/k0l0?dc=true&view=list`;
console.log(`Fetching search: ${searchUrl}`);
const searchHtml = await fetchHtml(searchUrl, DELAY_MS, {