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

Enable increasing complexity in rule-based scraper #5

Open
lorey opened this issue Sep 29, 2020 · 1 comment
Open

Enable increasing complexity in rule-based scraper #5

lorey opened this issue Sep 29, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@lorey
Copy link
Owner

lorey commented Sep 29, 2020

Currently, the rule-based scraper tries all potential css selectors at once. It would be more performant if we increase the css selector complexity step by step though, so we first try single node rules like div.item and something like .menu > div.item.company if the simpler rules don't work.

@lorey lorey added the enhancement New feature or request label Sep 29, 2020
@lorey
Copy link
Owner Author

lorey commented Jun 21, 2022

This is still open, currently rules get generated with more complexity, but increasing complexity stops at selectors with two levels, e.g. .test > .value.target.box.

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

No branches or pull requests

1 participant