ImranR98 / apps.obtainium.imranr.dev

Collection of suggested apps for Obtainium.
https://apps.obtainium.imranr.dev
GNU General Public License v3.0
111 stars 33 forks source link

Add Ice Box track-only configuration #148

Closed LightWayUp closed 3 weeks ago

LightWayUp commented 1 month ago

Ice Box uses CoolApk as one of several official distribution channels. CoolApk is a popular app store/marketplace in China, where Google services aren't easily accessible.

Relates to #145


About track-only

CoolApk app details page contains static download links, in the format

https://dl.coolapk.com/down?pn=com.catchingnow.icebox&id=MjAyMTk&h=<alphanumerics>&from=click

The h parameter is generated server-side, corresponding to a session identified by cookie SESSID. If the session cookie and the URL parameter are correct, the server will send an APK file, otherwise it'll send an error page with status code 404.

Because Obtainium doesn't use sessions, it loads the page https://coolapk.com/apk/com.catchingnow.icebox and is able to extract a download link, but the download link can't be used to get the APK file when the user presses Install/Update button.


If Obtainium is to support downloading from CoolApk and other sites functioning in similar ways, it needs some (likely non-trivial) changes:

ImranR98 commented 3 weeks ago

I don't think it's a good idea to use this site for track-only configs (see #58). Apparently one track-only config already made it in (guess I didn't pay attention) but we shouldn't add more.

Regarding your other comments, you can create an issue on the main Obtainium repo.