Fix Elder Manga: HTTP 404 on reader (#10920)

Fix: HTTP 404 on reader

Updated the CDN URL and image path construction.
This commit is contained in:
Hasan 2025-10-08 18:38:29 +03:00 committed by Draff
parent 85d3008fb8
commit f26545a8e8
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Elder Manga'
extClass = '.ElderManga'
extVersionCode = 1
extVersionCode = 2
}
apply from: "$rootDir/common.gradle"

View File

@ -28,7 +28,7 @@ class ElderManga : HttpSource() {
override val baseUrl = "https://eldermanga.com"
// CDN used for search API responses and images
private val CDN_URL = "https://cdn1.eldermanga.com"
private val CDN_URL = "https://manga3.efsaneler.can.re"
override val lang = "tr"
@ -153,7 +153,7 @@ class ElderManga : HttpSource() {
val results = pageRegex.findAll(script).toList()
return results.mapIndexed { index, result ->
val url = result.groups.get(1)!!.value
Page(index, imageUrl = "$CDN_URL/upload/series/$url")
Page(index, imageUrl = "$CDN_URL/$url")
}
}