Skip to content

autoupdate: use href to look for latest version links instead of description#66

Merged
Salamandar merged 1 commit into
YunoHost:mainfrom
fflorent:latest_webpage_link-based-on-href
Feb 25, 2026
Merged

autoupdate: use href to look for latest version links instead of description#66
Salamandar merged 1 commit into
YunoHost:mainfrom
fflorent:latest_webpage_link-based-on-href

Conversation

@fflorent

@fflorent fflorent commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

The problem

I try to scrap this page to look for the latest download link for the Piwigo package:
https://github.com/Piwigo/Piwigo/releases

I especially need to use the zip download links that include extra plugins for the package.

latest_webpage_link seems the solution for that. But I feel not very comfortable to use the version_regex to filter by the description, usually the version appears more accurately in the href attribute.

The proposed solution

Filter href attribute for that. This page might be controversial, let's discuss if so.

Maybe linked to #50.

@Salamandar Salamandar merged commit 16546a5 into YunoHost:main Feb 25, 2026
2 checks passed
@Salamandar

Copy link
Copy Markdown
Contributor

Thanks !

@fflorent fflorent deleted the latest_webpage_link-based-on-href branch February 25, 2026 14:32
@fflorent fflorent mentioned this pull request Feb 25, 2026
2 tasks
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

Successfully merging this pull request may close these issues.

2 participants