ImranR98 / Obtainium

Get Android app updates straight from the source.
https://obtainium.imranr.dev
GNU General Public License v3.0
5.79k stars 137 forks source link

New Firefox Android APK download sources #1625

Closed pq15239 closed 1 month ago

pq15239 commented 1 month ago

As of version 126, the previous Firefox Android APK download source:

now apparently has been replaced with:

But it does not seem to offer APK files.

And neither does:

There seems to be:

But Obtainium does not seem to support this URL. And unlike for the desktop version of Firefox, there also does not seem to be a directory that always points to the latest version, such as:

Is there a way to get automatic Firefox Android APK updates working again?

pq15239 commented 1 month ago

Relating:

pq15239 commented 1 month ago

Relating:

baduhai commented 1 month ago

I'm trying to fetch Firefox and Firefox Klar from these links, but obtanium just crashes when I try. As far as I can tell, these links should always return the latest release.

https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/mobile.v3.firefox-android.apks.fenix-release.latest.arm64-v8a/artifacts/public%2Fbuild%2Ftarget.arm64-v8a.apk

https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/mobile.v3.firefox-android.apks.klar-release.latest.arm64-v8a/artifacts/public%2Fbuild%2Ftarget.arm64-v8a.apk

ImranR98 commented 1 month ago

@baduhai if you want to add a direct APK link, you need to pick "Direct APK Link" in the "Source Override" dropdown menu.

@pq15239 you can add https://download.cdn.mozilla.net/pub/fenix/releases/ or https://ftp.mozilla.org/pub/fenix/releases/ and use intermediate links to tell Obtainium how to find the latest version. See the Wiki or other issues where the HTML source, intermediate links, etc. have been explained with examples.

johannesneyer commented 1 month ago

I am having trouble adding this as HTML source. For testing I entered https://download.cdn.mozilla.net/pub/fenix/releases/126.0/android/fenix-126.0-android-arm64-v8a/ as source but Obtainium always shows a Not Found error. Shouldn't Obtainium, without changing any settings, automatically find the apk on that link?

Idesmi commented 1 month ago

https://download.cdn.mozilla.net/pub/fenix/releases/

Intermediate links:

[0-9]+\.[0-9]b[0-9]+/$

android/$

fenix-[0-9]+\.[0-9]b[0-9]+-android-arm64-v8a/$

I would like to download the latest beta. I don't understand what am I doing wrong

johannesneyer commented 1 month ago

@ImranR98 any ideas?

ImranR98 commented 1 month ago

Your regex is fine. Looks like there's a bug - Obtainium removes the trailing slash from the URL. That's usually fine but in this case the URL without a slash gives a 404: https://download.cdn.mozilla.net/pub/fenix/releases

Will be fixed in the next release.

ImranR98 commented 1 month ago

It should work down: https://github.com/ImranR98/Obtainium/releases/tag/v1.1.10

johannesneyer commented 1 month ago

great, thank you. it works now