Add parameter to filter content for Web Scraper #2168

Closed
opened 2026-02-21 17:42:31 -05:00 by yindo · 0 comments
Owner

Originally created by @junytang on GitHub (Apr 12, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

When using Web Scraper, the tool retrieves all the text from the page. However, some of this text may not be relevant to the desired topic. I aim to enhance control by utilizing xpath or filter parameters to extract only the essential text.

2. Describe the feature you'd like to see

Include a parameter to filter content, or use a parameter similar to xpath(‘//p|//li’) to selectively scrape specific content.

3. How will this feature improve your workflow or experience?

A more effective approach to refining and structuring text scraping from websites can enhance the robustness and precision of workflows or chatbots.

4. Additional context or comments

No response

5. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @junytang on GitHub (Apr 12, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? When using Web Scraper, the tool retrieves all the text from the page. However, some of this text may not be relevant to the desired topic. I aim to enhance control by utilizing xpath or filter parameters to extract only the essential text. ### 2. Describe the feature you'd like to see Include a parameter to filter content, or use a parameter similar to xpath(‘//p|//li’) to selectively scrape specific content. ### 3. How will this feature improve your workflow or experience? A more effective approach to refining and structuring text scraping from websites can enhance the robustness and precision of workflows or chatbots. ### 4. Additional context or comments _No response_ ### 5. Can you help us with this feature? - [X] I am interested in contributing to this feature.
yindo added the stale label 2026-02-21 17:42:31 -05:00
yindo closed this issue 2026-02-21 17:42:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2168