Open kaorlol opened 1 month ago
For your help ive found a way to get the files from an app on there: https://store.kde.org/p/1515346/loadFiles
1515346 is the page id so that shouldnt ever change
it does give direct download link in the json somewhere
The first one is always the latest
@ImranR98 i noticed that the latest version might not be always the first one in the json, i think it would be a good idea to get the highest version
Anyone figured out the rule for this? I've ironically just gone to see if anybody's tried KDE Store stuff and it seems you want to update the exact same app I do!
Edit: - Looks like the download link is held in an iframe. Here's an example:
/dl?file_id=1718037148&file_type=application/zip&file_name=35.1.3-universal.apk&file_size=399661015&has_torrent=0&project_id=1515346&link_type=download&is_external=false&external_link=null
Not all of them appear necessary so something like "https://store.kde.org/dl?file_id=1718037148&project_id=1515346" should still work, albeit I'm not sure how FILE ID would work. I don't think it's actually "higher is newer"?
Support for kde store
Describe alternatives you've considered (if applicable)
Test it if possible with https://store.kde.org/p/1515346/