changedetection.io icon indicating copy to clipboard operation
changedetection.io copied to clipboard

[feature] Allow more than one watch for a single URL

Open marceloalencar opened this issue 2 years ago • 7 comments

Version and OS v0.45.3 on linux/docker (armv6)

Is your feature request related to a problem? Please describe. I can create multiple watches for a single URL (with different POST requests each) if I use the "Create Copy" feature and then edit the watch settings, but I'm unable to create a new watch using the "Add a new change detection watch" (The URL XXX already exists).

Describe the solution you'd like Allow more than one watch for a single URL

Describe the use-case and give concrete real-world examples

  1. Create a new watch for a URL (http://example.com), change settings to your liking
  2. Try adding a new watch for the same URL (http://example.com). It will fail even if you try using the "Edit > Watch" button.
  3. To create a new watch for the same URL, find the newly created watch and click "Edit", then use the "Create Copy" button.
  4. Back to the home page, find the new copy and click "Edit" to change settings as needed.

Additional context There is an API where the endpoint is a fixed URL, but response depends on the POST body. I need to monitor changes to several requests.

marceloalencar avatar Oct 18 '23 23:10 marceloalencar

Yes, I want this too. When I did debug for xpath, it was painful to change the XPATH of my previous watches. otherwise, I needed to duplicate the same html file with another name in the PHP data directory. (but I gave up it at the end. I just manually did it with the web page.)

Constantin1489 avatar Oct 19 '23 00:10 Constantin1489

Hmm yeah I was never sure what is "right" here... maybe "right click" to skip the check? or hmm, ideas? I think it's handy in both cases

dgtlmoon avatar Oct 20 '23 17:10 dgtlmoon

I actually just type an additional character(eg: gizmodo.com -> gizmodao.com) in a domain and add it. after that just remove the character. I just deceive it hahaha.

How about this? "This is a duplicated URL. Nonetheless, If you want to add it, press the button again."

Constantin1489 avatar Oct 20 '23 19:10 Constantin1489

Perhaps adding a # after the url?

jpdsc avatar Oct 24 '23 15:10 jpdsc

s adding a # after the url?

hmm no, that seems a bit 'special'

dgtlmoon avatar Oct 27 '23 07:10 dgtlmoon

How about this? "This is a duplicated URL. Nonetheless, If you want to add it, press the button again."

yeah this would seem a nice way

dgtlmoon avatar Oct 27 '23 07:10 dgtlmoon

I currently work around this by changing or adding query parameters: url.com?blah=x

jonoff avatar Oct 30 '23 03:10 jonoff

Closed by https://github.com/dgtlmoon/changedetection.io/commit/daef1cd036818c48fe5e7d302740b5abf32caa17

marceloalencar avatar Apr 19 '24 22:04 marceloalencar