Git Product home page Git Product logo

Comments (6)

ImranR98 avatar ImranR98 commented on May 21, 2024 1

Not sure whether they actually scrape the APK file, but looking through their code reminded me that Obtainium now has an option to add a GitLab Access Token to enable search. The same token could be used to get release data via the API instead of the RSS feed (which is what it uses now).

The next update will use the GitLab API for better APK discovery, with the RSS feed as a fallback.

Thanks for bringing up this old issue.

from obtainium.

ImranR98 avatar ImranR98 commented on May 21, 2024 1

Users with GitLab API keys can now add this repo: https://github.com/ImranR98/Obtainium/releases/tag/v0.13.16-beta

from obtainium.

ImranR98 avatar ImranR98 commented on May 21, 2024

The GitLab releases page cannot be scraped using the existing solution used in Obtainium, because the release info is dynamically loaded in with JavaScript. So the only way to currently get this info is through the tags RSS feed. Unfortunately it looks like this feed doesn't always contain a link to the release APK like I thought it did - it depends on how the app developer does things. Here's the Aurora Store RSS feed for comparison.

For now, nothing can be done until someone finds a way to scrape the releases page itself. I'll add a more informative error message about this later.

from obtainium.

ImranR98 avatar ImranR98 commented on May 21, 2024

Closing as there does not seem to be any way to enable this.

from obtainium.

m-rey avatar m-rey commented on May 21, 2024

while trying out other open source apps like Obtainium, I've noticed that Android OSS Release Tracker supports adding GitLab repos.

Maybe it's worth checking out how it's done there?

edit: while that app seems to detect the latest release version, it then merely links to it'
s release webpage. It doesn't scrape that page to retrieve the link to the actual apk file. my bad.

from obtainium.

foolishgrunt avatar foolishgrunt commented on May 21, 2024

Apologies for resurrecting this - feel free to tell me if I should start a new discussion. But apparently the developer of MJ PDF no longer hosts apk's directly on GitLab: he links to a download page on archive.org, where the only direct download is a .zip file. So my question is twofold:

  1. Can Obtainium unpackage .zip files?
  2. If yes, is there any way to point it to navigate through the intermediate archive.org page to the download? (I'm aware that I could add the archive.org page directly as an HTML source, but it looks like that URL changes with every new release.)

My intermediate workaround is to download from the Izzyondroid repo, but that's not an ideal solution.

EDIT: just stumbled across #983, so it looks like the answer to my first question is 'no.'

from obtainium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.