mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-30 04:53:28 +01:00 
			
		
		
		
	Ignore 'www' in URL
This commit is contained in:
		| @@ -147,6 +147,9 @@ class SourceService { | |||||||
|         url.toLowerCase().indexOf('https://') != 0) { |         url.toLowerCase().indexOf('https://') != 0) { | ||||||
|       url = 'https://$url'; |       url = 'https://$url'; | ||||||
|     } |     } | ||||||
|  |     if (url.toLowerCase().indexOf('https://www.') == 0) { | ||||||
|  |       url = 'https://${url.substring(12)}'; | ||||||
|  |     } | ||||||
|     AppSource source = getSource(url); |     AppSource source = getSource(url); | ||||||
|     String standardUrl = source.standardizeURL(url); |     String standardUrl = source.standardizeURL(url); | ||||||
|     AppNames names = source.getAppNames(standardUrl); |     AppNames names = source.getAppNames(standardUrl); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user