Comments (16)
@ImranR98 How do other F-Droid apps get the Author name and other metadata then? I'm almost certain they don't use webscraping for this.
from obtainium.
The f-droid API doesn't return any author name. For example: https://f-droid.org/api/v1/packages/de.schildbach.wallet
So the only way to get this would be through web scraping which isn't worth it because it's error prone and would require a second web request
from obtainium.
I would not think web scraping would be error prone. But it's upto you to implement it or not.
For ex, take droidify
view-source:https://f-droid.org/en/packages/com.looker.droidify/
Line 178 is just a plane one liner, which would be easy to scrape to.
I believe this is crucial for me. Caz the applist showing author would be much more beautiful & convenient information to look into.
from obtainium.
Web scraping in general is unreliable because you will not be notified or warned of website changes. APIs are meant to be used programmatically so they are always going to be the same - whenever changes do need to be made, those changes will be made in a new version of the API, while the old version will continue to work or you will be given a warning in advance before it stops working.
from obtainium.
Oh. I'm not a dev but, is this the documentation for it ?
from obtainium.
No that's not the API documentation. That is the documentation for the file that developers are supposed to provide to F-droid when they submit their apps.
from obtainium.
@cvoges12 no idea
from obtainium.
@cvoges12 That's a point btw. I use droidify & can confirm. Follow up here:
https://github.com/orgs/Droid-ify/discussions/584
Here's the Index provided by F-Droid:
https://fdroid.org/repo/index-v1.json
from obtainium.
Yeah, it isn't impossible. I see AuroraDroid and such doing this too. I guess the answer to how to do this is just less obvious. But I don't think that's a good reason to close the issue since that doesn't necessarily make the issue impossible. I could go ask the AuroraDroid devs or whatever if need be.
from obtainium.
@ImranR98 What do you think?
from obtainium.
Sure, hopefully there's some other API w more info
from obtainium.
@ImranR98 Try https://gitlab.com/fdroid/fdroiddata/-/raw/master/metadata/<app-id>.yml
For example, https://gitlab.com/fdroid/fdroiddata/-/raw/master/metadata/com.stoutner.privacybrowser.standard.yml
The Author is Soren Stoutner.
from obtainium.
@foxjaw I just created a Issue somewhat Related to this #1138
This discovery of yours could be great for automating tracking packages from source repos
from obtainium.
https://github.com/ImranR98/Obtainium/releases/tag/v0.14.38-beta
from obtainium.
Tqvm. Now fdroid trackers look like how they supposed to be ! With their authors.
Although, couple apps still miss AuthorName as it seems that gitlab yml metadata file has it missing too
https://gitlab.com/fdroid/fdroiddata/-/raw/master/metadata/com.termux.yml
For the above app, you can check the source code metadata from the yml file & retrieve the AuthorName which is a github organization (termux).
And 3rd party F-Droid repos usually don't provide this metadata anyways.
from obtainium.
Thanks @ImranR98 for this feature.
As far as I know this API will help in fetching the source repo too. So, can you add the source repo link for the particular app in App Detail Section of Obtanium
from obtainium.
Related Issues (20)
- Support for installing apk with target SDK lower then 23 (restriction in Android 14+) HOT 7
- Custom F-Droid repositories (FUTO) HOT 4
- Obtainium should not check for new versions when there is no internet connection HOT 1
- [Feature request]: Add an option to support the F-Droid API to get the applications changes date HOT 2
- Impossible to add an App from a GIT repo? HOT 8
- Pull to refresh not possible with small app list HOT 3
- Adding F-Droid Third-Party Repo to "Add App" search HOT 3
- [UIX enhancement]: Apps name truncated, overlayed HOT 4
- Fail to pick the date from Kiwi browser GitHub release HOT 3
- Add topics (‘updater‘ & ‘obtainium‘) to repo HOT 1
- Option : Share with AppVerifier HOT 1
- Github releases with long list not showing all available apks HOT 4
- Request headers ignored for direct apk link HOT 1
- I can't import my JSON File anymore... HOT 1
- Two or more app in single repository HOT 3
- [Enhancement] Use apk name as version string HOT 2
- New source (vivo app store) HOT 2
- Supports HOT 2
- Don't download release asset without user confirmation HOT 13
- [UIX enhancement]: Remove unecessary data in the App version field HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obtainium.