Skip to content

Detecting changes in images

dgtlmoon edited this page Sep 26, 2023 · 9 revisions

At the moment, changedetection.io only supports detecting changes in the Text of the webpage, however, you can also use the source: keyword in the URL to tell changedetection to return the HTML source.

So this means that you could use changedetection to detect when the HTML now references a different image source.

For example

The source at https://example.com is

<HTML>
<BODY>
   <div id="wrapper">
      <img src="november-calendar.jpg">
   </div>
   <div id="other stuff">
     our new calendar!
    </div>
</BODY>
</HTML>

By specifying source:https://example.com as the Watch URL and a filter of #wrapper, you will get a notification when the website changes "november-calendar.jpg" to "december-calendar.jpg"

Since 0.45.3 we've tried to add a message to help identify when this was happening

In addition to the message Got HTML content but no text found (With 200 reply code), (because there is only an image), if you specified a filter/selector , it will try to help you by saying Got HTML content but no text found (With 200 reply code), it's possible that the filters you have give an empty result or contain only an image.