-
Notifications
You must be signed in to change notification settings - Fork 1
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
Breaking API change? #5
Comments
Thanks for bringing this up. It seems Chrono24 has implemented Cloudflare’s anti-scraping feature to block non-browser requests. If the issue persists, I can explore using Selenium as a workaround. While it could be effective, it may be more cumbersome to use. |
Makes sense. Is there a workaround to be able to use the library? |
Not at the moment, unfortunately. If you are able to get a hold of the HTML content, you should be able to fetch listings using this private method import chrono24
# listing_html is your beautifulsoup4 object
standard_listing_dict = chrono24.query._get_standard_listing_as_json(listing_html)
detailed_listing_dict = chrono24.query._get_detailed_listing_as_json(listing_html) |
Cloudflare Issues – Temporary WorkaroundThanks to @davidiola for suggesting a potential solution to the Cloudflare problems.
I haven’t tested this yet. It may work as a stopgap. A more permanent fix is under consideration. If anyone tries it, post your feedback here. |
Hey guys, on my side the error persist and to be honest I'm not very familiar with FlareSolverr, could anyone help with this privat methode please, not sure how to use it :
Many thanks :) |
FlareSolverr still can not resolve the Cloudflare turnstile at less in the main branch. They have some PRs to resolve it, they already have the docker image build of this PR, so we should try it. |
I have been using the library for a few months without issues, but since a week ago I can't anymore. Even the test script in the README will not work
How to reproduce
The text was updated successfully, but these errors were encountered: