(Duckstation) Reverse Version Detection Regex on HTML Source #1231
-
Hello. I'm trying to add Duckstation beta in Obtainium. I've added https://www.duckstation.org/android/ as the source, https://www.duckstation.org/android/duckstation-beta.apk as the custom APK link filter and \d.\d-\d+ as the version extraction regex. While it's able to download the correct APK, the version it detects is the oldest one instead of the latest, and I can't find any options regarding reversing this. How can I have it detect the latest version? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can now simply add https://www.duckstation.org/android/duckstation-beta.apk to the App Source and select Direct APK Link inside the Override Source. |
Beta Was this translation helpful? Give feedback.
My bad, you can extract latest version by adding
(\d.\d-\d+).*
to Version String Extraction RegEx,$1
to Match Group and enabling Apply version string extraction Regex to entire page.