mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-16 14:46:44 +02:00
Fix the API URL having www
This commit is contained in:
@ -38,7 +38,7 @@ class RuStore extends AppSource {
|
|||||||
) async {
|
) async {
|
||||||
String? appId = await tryInferringAppId(standardUrl);
|
String? appId = await tryInferringAppId(standardUrl);
|
||||||
Response res0 = await sourceRequest(
|
Response res0 = await sourceRequest(
|
||||||
'https://backapi.${hosts[0]}/applicationData/overallInfo/${appId}',
|
'https://backapi.rustore.ru/applicationData/overallInfo/$appId',
|
||||||
additionalSettings);
|
additionalSettings);
|
||||||
if (res0.statusCode != 200) {
|
if (res0.statusCode != 200) {
|
||||||
throw getObtainiumHttpError(res0);
|
throw getObtainiumHttpError(res0);
|
||||||
@ -61,7 +61,7 @@ class RuStore extends AppSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Response res1 = await sourceRequest(
|
Response res1 = await sourceRequest(
|
||||||
'https://backapi.${hosts[0]}/applicationData/download-link',
|
'https://backapi.rustore.ru/applicationData/download-link',
|
||||||
additionalSettings,
|
additionalSettings,
|
||||||
followRedirects: false,
|
followRedirects: false,
|
||||||
postBody: {"appId": appDetails['appId'], "firstInstall": true});
|
postBody: {"appId": appDetails['appId'], "firstInstall": true});
|
||||||
|
Reference in New Issue
Block a user