You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Realtor.ca does its best to block scraping. They have a lot of money that they put behind that - for example, they totally blocked my attempts to use ChromeDriver through Selenium (even when I used the 'undetectable' ChromeDriver).
Issue:
They changed the way the search works. Check out the headers, they seem to include a cookie now, plus some encoding options. Don't have the time to dig deep into it now.
Next Steps:
If you have any suggestions, leave them as a reply.
The text was updated successfully, but these errors were encountered:
@harry-s-grewal I solved the issue! Requires the session cookies to be grabbed by a browser in undetectable mode first, then those can be fed into the post request. I used patchright in chromium browser mode. I added a lot of values to the data form, and I am unsure which ones are necessary though.
Context:
Realtor.ca does its best to block scraping. They have a lot of money that they put behind that - for example, they totally blocked my attempts to use ChromeDriver through Selenium (even when I used the 'undetectable' ChromeDriver).
Issue:
They changed the way the search works. Check out the headers, they seem to include a cookie now, plus some encoding options. Don't have the time to dig deep into it now.
Next Steps:
If you have any suggestions, leave them as a reply.
The text was updated successfully, but these errors were encountered: