From b41b9d3109cb15b76c2b4e488c6c4171045fd62c Mon Sep 17 00:00:00 2001 From: bernikr Date: Sat, 17 May 2025 15:49:28 +0200 Subject: [PATCH] bugfix: invalid version codes for some apkpure links --- lib/app_sources/apkpure.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app_sources/apkpure.dart b/lib/app_sources/apkpure.dart index 8894422..37742a2 100644 --- a/lib/app_sources/apkpure.dart +++ b/lib/app_sources/apkpure.dart @@ -131,7 +131,7 @@ class APKPure extends AppSource { var link = html.querySelector("a.download-start-btn")?.attributes['href']; RegExp downloadLinkRegEx = RegExp( - r'^https:\/\/d\.[^/]+\/b\/([^/]+)\/[^/?]+\?versionCode=([0-9]+).$', + r'^https:\/\/d\.[^/]+\/b\/([^/]+)\/[^/?]+\?versionCode=([0-9]+)$', caseSensitive: false); RegExpMatch? match = downloadLinkRegEx.firstMatch(link ?? ''); if (match == null) {