dgtlmoon / changedetection.io

The best and simplest free open source web page change detection, website watcher, restock monitor and notification service. Restock Monitor, change detection. Designed for simplicity - Simply monitor which websites had a text change for free. Free Open source web page change detection, Website defacement monitoring, Price change notification
https://changedetection.io
Apache License 2.0
16.78k stars 931 forks source link

Mechanism for partial line matches/ignores #820

Open jeremysherriff opened 2 years ago

jeremysherriff commented 2 years ago

Version and OS 0.39.17.2 (current) on docker

Is your feature request related to a problem? Please describe. I'm frustrated that the "ignore" matches are for the full line. I want to ignore part of a "line". In the screenshot below I would like to ignore from "Offer ends" onwards, as the date changes and the "View more" wording is added and removed periodically. However, I would still like to trigger a match if the actual "2 for $16" offer changes (eg becomes "3 for $22") image

Describe the solution you'd like Ignore lines could be partial matches, with regex allowing people to match on full lines if they choose to, via the use of ".*" and ^/$ beginning/end line position anchors.

Describe the use-case and give concrete real-world examples Per screenshot above, I would like to match on the "2 for $16" text changing, but ignore the date change on the same line.

Additional context

alpe12 commented 1 year ago

@dgtlmoon I want the same.

I monitor the codes on this: https://www.pockettactics.com/honkai-star-rail/codes When they are added there's a " (new!)" added to the end. It's removed after a few days. And changedetection detects it as a change. I tried to use the 'ignore' function and found out it ignores the whole line. :/