Can x-data-checker be used to detect a change in the sha256 binary?

Upstream doesn’t provide version numbers on the webpage where the binaries are found (the webpage download link simply points to the latest build on their Gitlab CICD). Is there any way to use x-data-checker to simply check if the sha256 has changed, and if yes, update it?

Here’s what I tried (it doesn’t work):

"type": "file",
"url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/jobs/artifacts/master/raw/Saradomin/2009scape-launcher-sc?job=pack_linux_sc",
"sha256": "totallyOutdatedSha256",
"only-arches": ["x86_64"],
"dest-filename": "2009scape-launcher",
"x-checker-data": {
  "type": "archive",
  "url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/jobs/artifacts/master/raw/Saradomin/2009scape-launcher-sc?job=pack_linux_sc",
}

Output is simply src.manifest: Skipped check [x/y] file 2009scape/2009scape-launcher (from org._2009scape.Launcher.json)

Is there an easy way to get this working, or alternatively am I going about it completely wrong?

Thanks

Gitlab is smart. Despite the download URL being

https://gitlab.com/2009scape/Saradomin-Launcher/-/jobs/artifacts/master/raw/Saradomin/2009scape-launcher-sc?job=pack_linux_sc

Clicking it and checking the download URL in your browser download history shows the URL as:

https://gitlab.com/2009scape/Saradomin-Launcher/-/jobs/3602367826/artifacts/raw/Saradomin/2009scape-launcher-sc

So you can use the rotating-url type to get it to work:

"type": "file",
"url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/jobs/123123123/artifacts/raw/Saradomin/2009scape-launcher-arm-sc",
"sha256": "outdatedSha",
"only-arches": ["aarch64"],
"dest-filename": "2009scape-launcher",
"x-checker-data": {
    "type": "rotating-url",
    "url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/jobs/artifacts/master/raw/Saradomin/2009scape-launcher-arm-sc?job=pack_linux_arm_sc"
}

This doesn’t solve the issue of non-Gitlab download links though (i.e. where the download link is straight to a file). If anyone knows how to do that still, let me know!