-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Version and OS
0.49.17, Linux/k8s
Is your feature request related to a problem? Please describe.
One of the pages that I am scraping for price information is littered with other "previews" of related products/skus. This trips up the scrape/code in "price watch" mode with an error like this:
Cannot run, more than one price detected, this plugin is only for product pages with ONE product, try the content-change detection mode.
Describe the solution you'd like
For this particular page, the primary SKU/price/availability data that I am concerned with is reliably available via a particular XPATH selector. I was wondering why it is not possible to use all the advanced selector/filter settings from the "change detection" mode as one step in a "chain" and only after cutting out the 'noise', use the price/availability detection mode.
Describe the use-case and give concrete real-world examples
Here is an example URL: https://www.homedepot.com/p/Samsung-Bespoke-5-3-cu-ft-Ultra-Capacity-All-In-One-Washer-Dryer-Combo-with-Super-Speed-and-Ventless-Heat-Pump-in-Dark-Steel-WD53DBA900HZ/328419334
Below the main content there are a few carousels ("customers also viewed", "more from $vendor" ... etc) which feature mini "previews" complete with prices. I am confident that this is where the price detection logic is getting caught up.
If I could say "monitor for $price, but only in the <div> that $thisXPath points to..." that would be fantastic.
Additional context
Add any other context or screenshots about the feature request here.