feat: Ignore Cloudflare results from webloader. #5526

Closed
opened 2025-11-11 16:23:27 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @geiseri on GitHub (Jun 12, 2025).

Originally assigned to: @tjbck on GitHub.

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

When the scraper gets a Performance & security by Cloudflare in the text its their captcha, or verifying connection splash screen.

Desired Solution you'd like

So it's 2025 and after 30 years of scraping the web all these bots hoovering up all the pages we can get have forced site owners to get more aggressive blocking "nonhuman" connections. Since I do not see them getting any better at respecting website owners it might be better to find a way to filter out content that comes back from those responses.

Alternatives Considered

In cases that a search engine has been used they can return what they consider a relevant snippet. Maybe as a case of last resort put that into the RAG?

Additional Context

I use the websearch API from my browser to do searches. Slowly it has been getting fewer and fewer good results. I can only assume because my IP is cheesing off Cloudflare or something.

Originally created by @geiseri on GitHub (Jun 12, 2025). Originally assigned to: @tjbck on GitHub. ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description When the scraper gets a `Performance & security by Cloudflare` in the text its their captcha, or verifying connection splash screen. ### Desired Solution you'd like So it's 2025 and after 30 years of scraping the web all these bots hoovering up all the pages we can get have forced site owners to get more aggressive blocking "nonhuman" connections. Since I do not see them getting any better at respecting website owners it might be better to find a way to filter out content that comes back from those responses. ### Alternatives Considered In cases that a search engine has been used they can return what they consider a relevant snippet. Maybe as a case of last resort put that into the RAG? ### Additional Context I use the websearch API from my browser to do searches. Slowly it has been getting fewer and fewer good results. I can only assume because my IP is cheesing off Cloudflare or something.
Author
Owner

@tjbck commented on GitHub (Jun 16, 2025):

Would like to add this in but unsure if hardcoding Performance & security by Cloudflare to the codebase would be reliable, any thoughts?

@tjbck commented on GitHub (Jun 16, 2025): Would like to add this in but unsure if hardcoding `Performance & security by Cloudflare` to the codebase would be reliable, any thoughts?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5526