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.92k stars 946 forks source link

[feature] Run diff on full raw HTTP response #506

Open Meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee opened 2 years ago

Meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee commented 2 years ago

Is it possible to return the entire HTTP response including html tags when monitoring a URL? My use case is monitoring javascript src url changes

dgtlmoon commented 2 years ago

No, open to PR tho

dgtlmoon commented 2 years ago

should be solved by adding some URL like source:http://foobar.com as the URL I think

dgtlmoon commented 2 years ago

@Meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee try this, you'll need to use the Chrome WebDriver https://validator.w3.org/nu/?showsource=yes&doc=https://thesite.com

wrobelda commented 2 years ago

@Meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee try this, you'll need to use the Chrome WebDriver https://validator.w3.org/nu/?showsource=yes&doc=https://thesite.com

That only lists first 53 lines of the source, tho

wrobelda commented 2 years ago

should be solved by adding some URL like source:http://foobar.com as the URL I think

This does the job, though.

pokemaster974 commented 1 year ago

should be solved by adding some URL like source:http://foobar.com as the URL I think

Hi, having the possibility to diff full source code could be useful (for example if the link have been changed into the href but not the text). Trying your trick seems to be ok (tried just into one link) image

Maybe it could be added as option into a watch config, which will be add source: into the link to diff on full raw HTTP response.