Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author here - This tool is temporarily not working. #15

Open
harry-s-grewal opened this issue Sep 19, 2024 · 2 comments
Open

Author here - This tool is temporarily not working. #15

harry-s-grewal opened this issue Sep 19, 2024 · 2 comments

Comments

@harry-s-grewal
Copy link
Owner

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.

@whydna
Copy link

whydna commented Oct 8, 2024

any way to contact you? have some ideas we can collab on.

@rydeordie99
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants