mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-15 11:28:10 +02:00
APKPure: Fix bug with versionCode not found
This commit is contained in:
@@ -95,10 +95,9 @@ class APKPure extends AppSource {
|
|||||||
// Unclear why there can even be multiple APKs for the same version and arch
|
// Unclear why there can even be multiple APKs for the same version and arch
|
||||||
var apkInfo = e.nextElementSibling?.querySelector('div.info');
|
var apkInfo = e.nextElementSibling?.querySelector('div.info');
|
||||||
String? versionCode = RegExp('[0-9]+')
|
String? versionCode = RegExp('[0-9]+')
|
||||||
.firstMatch(apkInfo
|
.firstMatch(
|
||||||
?.querySelector('div.info-top span.code')
|
apkInfo?.querySelector('div.info-top .code')?.text ??
|
||||||
?.text ??
|
'')
|
||||||
'')
|
|
||||||
?.group(0)
|
?.group(0)
|
||||||
?.trim();
|
?.trim();
|
||||||
var types = apkInfo
|
var types = apkInfo
|
||||||
|
Reference in New Issue
Block a user