mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-25 03:43:46 +02:00
@@ -104,6 +104,11 @@ preStandardizeUrl(String url) {
|
||||
if (url.toLowerCase().indexOf('https://www.') == 0) {
|
||||
url = 'https://${url.substring(12)}';
|
||||
}
|
||||
url = url
|
||||
.split('/')
|
||||
.where((e) => e.isNotEmpty)
|
||||
.join('/')
|
||||
.replaceFirst(':/', '://');
|
||||
return url;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user