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

Arbitrary website support #64

Open
dumbasPL opened this issue Apr 3, 2023 · 0 comments
Open

Arbitrary website support #64

dumbasPL opened this issue Apr 3, 2023 · 0 comments

Comments

@dumbasPL
Copy link

dumbasPL commented Apr 3, 2023

Would be nice to have the option to specify an arbitrary URL and an expression to match the version from the returned web page.

We could just make it simple and use REGEX (yes, I know, "parsing" HTML with regex...) or use a proper HTML parser and let the user specify a CSS selector/xpath that points to an element that contains the version. If the content of that element changes we assume a new version has been released.

Importing an RSS feed is nice and all, but those are becoming pretty rare nowadays.

A generic JSON one would also be nice, just a simple URL and a path to the key that contains the version.

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

1 participant