I’m trying to scrape a list of products from an e-commerce site, but they mix in “Sponsored” products right in the middle of the grid. The sponsored items share the exact same CSS class names as the real products, so my scraper grabs them all.
I really don’t want to write complex XPath or regex to filter them out. Can the visual picker handle this?
Hey @dataminerpro! This is exactly why we built the Refine feature into our visual picker. You don’t need to write a single line of code to fix this.
When you click the “Pick” icon in the extension, hover over a real product and click it. The extension will highlight all matching elements on the page and show a little control box next to them with a checkmark and an X.
Just scroll down to one of the “Sponsored” products and click the X. Our content script instantly calculates the structural signature of that specific rejected element and automatically generates a highly specific :not() CSS exclusion rule for you. It updates the highlights in real-time so you can visually confirm the sponsored posts are ignored.