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)
- Adding gitlab repo with multiple APK HOT 2
- Problem with the version with celsoazevedo source HOT 1
- [BUG] Apps Not Installed In Non-Root Android. HOT 11
- App Sort By: As Added - setting is not following strictly the add order
- GitLab Source Forbidden, even with API token HOT 8
- It is recommended to add the functions of canceling download and pausing download. HOT 1
- It is recommended to add a "source" logo to the right of the software name HOT 1
- New Firefox Android APK download sources HOT 10
- It is recommended to add the functions of pausing download and canceling download HOT 1
- Open and Chrome and launch app buttons HOT 1
- Track only is forcefully checking for a "suitable release" and blocking addition of new apps. HOT 3
- Failed to get the release date for an old AppGallery app HOT 2
- Auto add installed apps for update check HOT 1
- Add an option to change the installer HOT 2
- Understanding version extraction regexp HOT 4
- default 3rd party app icon not visible in dark mode HOT 4
- Version extraction regex fails HOT 2
- APKMirror updates HOT 3
- Give the abiltiy to update the URL of an already added app. HOT 3
- kde store support HOT 4
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.