mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-29 12:33:28 +01:00 
			
		
		
		
	GitHub & Codeberg - get first 100 releases (not 30)
This commit is contained in:
		| @@ -64,7 +64,7 @@ class Codeberg extends AppSource { | ||||
|             ? additionalSettings['filterReleaseTitlesByRegEx'] | ||||
|             : null; | ||||
|     Response res = await get(Uri.parse( | ||||
|         'https://$host/api/v1/repos${standardUrl.substring('https://$host'.length)}/releases')); | ||||
|         'https://$host/api/v1/repos${standardUrl.substring('https://$host'.length)}/releases?per_page=100')); | ||||
|     if (res.statusCode == 200) { | ||||
|       var releases = jsonDecode(res.body) as List<dynamic>; | ||||
|  | ||||
|   | ||||
| @@ -111,7 +111,7 @@ class GitHub extends AppSource { | ||||
|             ? additionalSettings['filterReleaseTitlesByRegEx'] | ||||
|             : null; | ||||
|     Response res = await get(Uri.parse( | ||||
|         'https://${await getCredentialPrefixIfAny()}api.$host/repos${standardUrl.substring('https://$host'.length)}/releases')); | ||||
|         'https://${await getCredentialPrefixIfAny()}api.$host/repos${standardUrl.substring('https://$host'.length)}/releases?per_page=100')); | ||||
|     if (res.statusCode == 200) { | ||||
|       var releases = jsonDecode(res.body) as List<dynamic>; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user