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

feat: Customizing CSS selectors can sometimes cause web crawlers to fail #153

Closed
wants to merge 3 commits into from

Conversation

kukuze
Copy link

@kukuze kukuze commented Feb 28, 2024

When crawling a webpage, if a custom CSS selector is selected, but the initial page does not have a suitable CSS selection object, it will cause the crawler to fail. If a custom CSS selector is not used, the truly valuable page (which can filter out a lot of useless information through the CSS selector) will have a lot more useless information, such as the "homepage". So this submission can be used when a custom CSS selector is available, and when it is not possible, use "body" as the CSS selector

When crawling a webpage, if a custom CSS selector is selected, but the initial page does not have a suitable CSS selection object, it will cause the crawler to fail. If a custom CSS selector is not used, the truly valuable page (which can filter out a lot of useless information through the CSS selector) will have a lot more useless information, such as the "homepage". So this submission can be used when a custom CSS selector is available, and when it is not possible, use "body" as the CSS selector
@kukuze kukuze changed the title Customizing CSS selectors can sometimes cause web crawlers to fail feat:Customizing CSS selectors can sometimes cause web crawlers to fail Feb 29, 2024
@kukuze kukuze changed the title feat:Customizing CSS selectors can sometimes cause web crawlers to fail feat: Customizing CSS selectors can sometimes cause web crawlers to fail Feb 29, 2024
@kukuze
Copy link
Author

kukuze commented Feb 29, 2024

I forget to run Prettier.Please Wait….

kukuze and others added 2 commits February 29, 2024 02:07
@kukuze kukuze closed this Feb 29, 2024
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

Successfully merging this pull request may close these issues.

None yet

1 participant