From 10c10ae3116d5f86b8178a2eeccedae4bd25c0bc Mon Sep 17 00:00:00 2001 From: tanishqmanuja Date: Mon, 1 Apr 2024 17:02:24 +0530 Subject: [PATCH] fix: dot to dash replacement --- src/scrapping.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scrapping.ts b/src/scrapping.ts index baa876b..2641f0f 100644 --- a/src/scrapping.ts +++ b/src/scrapping.ts @@ -60,7 +60,7 @@ export async function getDownloadUrl(downloadPageUrl: string) { } export async function getVariants(org: string, repo: string, version: string) { - const apkmUrl = `https://www.apkmirror.com/apk/${org}/${repo}/${repo}-${version.replace( + const apkmUrl = `https://www.apkmirror.com/apk/${org}/${repo}/${repo}-${version.replaceAll( ".", "-" )}-release`;