gogo: update encrypt-ajax domain (#395)

This commit is contained in:
Shivam
2022-03-12 15:58:10 +05:30
committed by GitHub
parent 1345bbb345
commit 40d1ad4119
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Gogoanime'
pkgNameSuffix = 'en.gogoanime'
extClass = '.GogoAnime'
extVersionCode = 30
extVersionCode = 31
libVersion = '12'
}

View File

@ -31,7 +31,7 @@ class GogoCdnExtractor(private val client: OkHttpClient, private val json: Json)
val jsonResponse = client.newCall(
GET(
"http://gogoplay.io/encrypt-ajax.php?id=$encryptedId",
"https://gogoplay4.com/encrypt-ajax.php?id=$encryptedId",
Headers.headersOf("X-Requested-With", "XMLHttpRequest")
)
).execute().body!!.string()