mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-31 05:23:28 +01:00 
			
		
		
		
	Merge pull request #2296 from bernikr/apkpure-fix-no-variants
bugfix: invalid version codes for some apkpure links
This commit is contained in:
		| @@ -131,7 +131,7 @@ class APKPure extends AppSource { | |||||||
|         var link = |         var link = | ||||||
|             html.querySelector("a.download-start-btn")?.attributes['href']; |             html.querySelector("a.download-start-btn")?.attributes['href']; | ||||||
|         RegExp downloadLinkRegEx = RegExp( |         RegExp downloadLinkRegEx = RegExp( | ||||||
|             r'^https:\/\/d\.[^/]+\/b\/([^/]+)\/[^/?]+\?versionCode=([0-9]+).$', |             r'^https:\/\/d\.[^/]+\/b\/([^/]+)\/[^/?]+\?versionCode=([0-9]+)$', | ||||||
|             caseSensitive: false); |             caseSensitive: false); | ||||||
|         RegExpMatch? match = downloadLinkRegEx.firstMatch(link ?? ''); |         RegExpMatch? match = downloadLinkRegEx.firstMatch(link ?? ''); | ||||||
|         if (match == null) { |         if (match == null) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user