diff --git a/tradein-mvp/frontend/src/app/scrapers/cian/page.tsx b/tradein-mvp/frontend/src/app/scrapers/cian/page.tsx index 9cecd249..835b6818 100644 --- a/tradein-mvp/frontend/src/app/scrapers/cian/page.tsx +++ b/tradein-mvp/frontend/src/app/scrapers/cian/page.tsx @@ -118,7 +118,7 @@ function useScrapeCianDetail() { { offer_url: string; listing_id: number | undefined } >({ mutationFn: ({ offer_url, listing_id }) => { - const qs = new URLSearchParams({ offer_url: encodeURIComponent(offer_url) }); + const qs = new URLSearchParams({ offer_url }); if (listing_id !== undefined) qs.set("listing_id", String(listing_id)); return apiFetch( `/api/v1/admin/scrape/cian-detail?${qs.toString()}`, @@ -135,7 +135,7 @@ function useScrapeCianNewbuilding() { { zhk_url: string; house_id: number | undefined } >({ mutationFn: ({ zhk_url, house_id }) => { - const qs = new URLSearchParams({ zhk_url: encodeURIComponent(zhk_url) }); + const qs = new URLSearchParams({ zhk_url }); if (house_id !== undefined) qs.set("house_id", String(house_id)); return apiFetch( `/api/v1/admin/scrape/cian-newbuilding?${qs.toString()}`,