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

[feature] Visual Selector - offer to "just tell me when this text is no longer on the page" filter #2207

Open
dgtlmoon opened this issue Feb 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dgtlmoon
Copy link
Owner

dgtlmoon commented Feb 21, 2024

Very often I can see that people are using the visual selector to follow some HTML element, but then what happens is that the page will change structure (like when the website has more stock available) and then the element they have clicked on can no longer be found by the automatically generated xPath

What would be better is to have the visual selector ask "Should I alert you when this text is no longer present on the page?" instead of locking in a very fragile xPath filter

for example. people use the VisualSelector for choosing the element of

containing "sold out" or "no results found"

implementation

  • xpath scraper can have an extra attribute "has-unique-text", it would only offer the solution if the text is unique
  • something like restock detector but "text detector"
@dgtlmoon dgtlmoon added the enhancement New feature or request label Feb 21, 2024
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