Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best practice for a bunch of keywords for several urls #770

Open
Hans-Maulwurf opened this issue Oct 23, 2023 · 1 comment
Open

Best practice for a bunch of keywords for several urls #770

Hans-Maulwurf opened this issue Oct 23, 2023 · 1 comment

Comments

@Hans-Maulwurf
Copy link

Hello,
I need some hints, how to realize my workflow.
I want to check multiple sites (shops) for changes when searching keywords (products). In general, I would use an array of keywords and loop through it and make requests to each site/shop with placeholders in the url for the searched keyword. Something like [shop1.com?search={{product}}, shop2.com?productsearch={{product}}] and [productname1, productname2]

In my workflow-idea, I want to maintain these two objects, maybe in seperate files, and then led urlmagic do it's magic. Is it possible to do this with hooks? Is a hook able to edit the url before doing the real request? Or is a hook able to edit the list of urls that watches urlwatch?

@thp
Copy link
Owner

thp commented Oct 23, 2023

The best way would be to use some template language outside of urlwatch and then let it generate the urls.yaml file from that template. This sounds like a very involved workflow that's probably best served with outside tooling on top of urlwatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants