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

Current date in apk link #1587

Closed
rabaimorp opened this issue Apr 30, 2024 · 1 comment
Closed

Current date in apk link #1587

rabaimorp opened this issue Apr 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@rabaimorp
Copy link

I am tying to add Tor Nightly but the link changes every day.
https://nightlies.tbb.torproject.org/nightly-builds/tor-browser-builds/tbb-nightly.2024.04.30/nightly-android-aarch64/

There is the current date, and its before the last /

My idea would be to be able to replace the date in the link from 2024.04.30 to {YYYY}.{MM}.{DD} or something and that would automatically prefill the current Year Month and Day in the link, so I wouldn't have to update the link manually every day.

I've tried to search for an existing solution, but I couldn't find one

@rabaimorp rabaimorp added enhancement New feature or request to check Issue has not been reviewed labels Apr 30, 2024
@ImranR98
Copy link
Owner

Try this: https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22org.torproject.torbrowser_nightly%22%2C%22url%22%3A%22https%3A%2F%2Fnightlies.tbb.torproject.org%2Fnightly-builds%2Ftor-browser-builds%22%2C%22author%22%3A%22nightlies.tbb.torproject.org%22%2C%22name%22%3A%22Tor%20Browser%20Nightly%22%2C%22preferredApkIndex%22%3A0%2C%22additionalSettings%22%3A%22%7B%5C%22intermediateLink%5C%22%3A%5B%7B%5C%22customLinkFilterRegex%5C%22%3A%5C%22tbb-%5C%22%2C%5C%22filterByLinkText%5C%22%3Afalse%2C%5C%22skipSort%5C%22%3Afalse%2C%5C%22reverseSort%5C%22%3Afalse%2C%5C%22sortByLastLinkSegment%5C%22%3Afalse%7D%2C%7B%5C%22customLinkFilterRegex%5C%22%3A%5C%22nightly-android-aarch64%5C%22%2C%5C%22filterByLinkText%5C%22%3Afalse%2C%5C%22skipSort%5C%22%3Afalse%2C%5C%22reverseSort%5C%22%3Afalse%2C%5C%22sortByLastLinkSegment%5C%22%3Afalse%7D%5D%2C%5C%22customLinkFilterRegex%5C%22%3A%5C%22%5C%22%2C%5C%22filterByLinkText%5C%22%3Afalse%2C%5C%22skipSort%5C%22%3Afalse%2C%5C%22reverseSort%5C%22%3Afalse%2C%5C%22sortByLastLinkSegment%5C%22%3Afalse%2C%5C%22versionExtractWholePage%5C%22%3Afalse%2C%5C%22requestHeader%5C%22%3A%5B%7B%5C%22requestHeader%5C%22%3A%5C%22User-Agent%3A%20Mozilla%2F5.0%20(Linux%3B%20Android%2010%3B%20K)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F114.0.0.0%20Mobile%20Safari%2F537.36%5C%22%7D%5D%2C%5C%22defaultPseudoVersioningMethod%5C%22%3A%5C%22APKLinkHash%5C%22%2C%5C%22trackOnly%5C%22%3Afalse%2C%5C%22versionExtractionRegEx%5C%22%3A%5C%22-nightly%5C%5C%5C%5C.(%5B%5E%E2%80%93%5D%2B)%2Fnightly%5C%22%2C%5C%22matchGroupToUse%5C%22%3A%5C%221%5C%22%2C%5C%22versionDetection%5C%22%3Afalse%2C%5C%22useVersionCodeAsOSVersion%5C%22%3Afalse%2C%5C%22apkFilterRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22invertAPKFilter%5C%22%3Afalse%2C%5C%22autoApkFilterByArch%5C%22%3Atrue%2C%5C%22appName%5C%22%3A%5C%22%5C%22%2C%5C%22shizukuPretendToBeGooglePlay%5C%22%3Afalse%2C%5C%22exemptFromBackgroundUpdates%5C%22%3Afalse%2C%5C%22skipUpdateNotifications%5C%22%3Afalse%2C%5C%22about%5C%22%3A%5C%22%5C%22%7D%22%7D

Note, the discussions section is a better place for questions like this.

@ImranR98 ImranR98 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2024
@ImranR98 ImranR98 removed the to check Issue has not been reviewed label Apr 30, 2024
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

2 participants