ImranR98 / Obtainium

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

Let HTML Source Find Text Links #454

Closed muznyo closed 10 months ago

muznyo commented 1 year ago

Pixelfed is a fediverse instagram alternative.

ImranR98 commented 1 year ago

There doesn't seem to be a simple way to extract the version and APK url from this site as it doesn't work without JavaScript (see also #2, #3).

stephen304 commented 11 months ago

It's it possible to support the rss feed?

https://pixelfed.org/mobile-apps/pixelfed-for-android/builds.rss

I haven't been able to get obtanium to find any suitable releases using that url, it's hard to debug whether the default or my custom regex is working since obtanium doesn't give any debug feedback.

ImranR98 commented 11 months ago

The HTML source doesn't work with xml because it looks for an html link element. Rather than adding a separate xml source we could have a toggle that tells the HTML source to search for plain text urls instead of links specifically. This would make it work with xmls as well as any other page with plaintext links (but might be more prone to errors so would be off by default).

ImranR98 commented 10 months ago

https://github.com/ImranR98/Obtainium/releases/tag/v0.14.32-beta