Giter VIP home page Giter VIP logo

Comments (2)

thp avatar thp commented on September 3, 2024

If you can write a script using mechanize or some other tool, you can integrate that script using the shell job type. Since this sounds very specific to that page, I don't think it's something that we can easily implement in a generic way.

As the URL sounds like it's something of public interest, maybe there's a way to just ask them to provide a nice API that you can call instead?

from urlwatch.

kjabl avatar kjabl commented on September 3, 2024

Thx for your answer. Mechanize looks really interesting.
In the meantime I investigated further. I found a tool which can do this. It's called changedetection. BUT it's a lot more heavyweight then urlwatch. I thin urlwatch is great because its simple and lightweight.

Changedetection makes use of a browser for opening pages and analysing that. The benefit is that you can even execute javascript. But therefore it's a lot more complicated to set up. For me it was two docker containers, one for the browser engine and one for the tool and they have to talk to each other and so on...

This special job can be done quite simple, the final call can contain the form data as post body. All you need is the session cookie from the first call which is valid only for some minutes, so you can't set static cookie data.
But I think you're right. This is very special and I'm not sure if it can be abstracted to be generalised for configuration.

from urlwatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.