@@ -289,7 +289,7 @@ export default async function fetchKijijiItems(
|
|||||||
) {
|
) {
|
||||||
const DELAY_MS = Math.max(1, Math.floor(1000 / REQUESTS_PER_SECOND));
|
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}`);
|
console.log(`Fetching search: ${searchUrl}`);
|
||||||
const searchHtml = await fetchHtml(searchUrl, DELAY_MS, {
|
const searchHtml = await fetchHtml(searchUrl, DELAY_MS, {
|
||||||
|
|||||||
Reference in New Issue
Block a user