Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex Replacement Strings #1521

Open
SkyNinja opened this issue Apr 6, 2024 · 1 comment
Open

Regex Replacement Strings #1521

SkyNinja opened this issue Apr 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@SkyNinja
Copy link

SkyNinja commented Apr 6, 2024

In #639, Google Drive links were discussed. In that issue, I mentioned a hypothetical in which a webpage has a link to a Google Drive download, and another user recommended using an alternate link that immediately provides the file as a direct apk link. These two methods are entirely incompatible, but a regex replacement could bridge the gap, since the urls are totally predictable and would use the same ID.

The only alternative I can think of for such a situation is using the direct download URL, which isn't viable in situations where the link might change between versions.

Admittedly, this is not high priority in any way. Regex replacements can be super useful, but I can't really think of any uses in Obtanium beyond this hypothetical.

@SkyNinja SkyNinja added enhancement New feature or request to check Issue has not been reviewed labels Apr 6, 2024
@ImranR98 ImranR98 removed the to check Issue has not been reviewed label Apr 7, 2024
@o101010
Copy link
Contributor

o101010 commented Apr 15, 2024

I think replacement regex can also be usefull for version.
I have the case with Breezy Weather. The version push by github is v5.1.8 but my os give 5.1.8_froid. I allready extract 5.1.8 but is still block with the "_fdroid" string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants