[RU]Remanga return main domain (#10036)
This commit is contained in:
parent
6b5e24bc12
commit
bd43b9f982
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'Remanga'
|
||||
pkgNameSuffix = 'ru.remanga'
|
||||
extClass = '.Remanga'
|
||||
extVersionCode = 38
|
||||
extVersionCode = 39
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -58,7 +58,7 @@ import kotlin.random.Random
|
|||
class Remanga : ConfigurableSource, HttpSource() {
|
||||
override val name = "Remanga"
|
||||
|
||||
override val baseUrl = "https://api.xn--80aaig9ahr.xn--c1avg"
|
||||
override val baseUrl = "https://api.remanga.org"
|
||||
|
||||
override val lang = "ru"
|
||||
|
||||
|
@ -70,7 +70,8 @@ class Remanga : ConfigurableSource, HttpSource() {
|
|||
|
||||
override fun headersBuilder(): Headers.Builder = Headers.Builder()
|
||||
.add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/78.0$userAgentRandomizer")
|
||||
.add("Referer", baseUrl)
|
||||
.add("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/jxl,image/webp,*/*;q=0.8")
|
||||
.add("Referer", "https://remanga.org")
|
||||
|
||||
private val preferences: SharedPreferences by lazy {
|
||||
Injekt.get<Application>().getSharedPreferences("source_$id", 0x0000)
|
||||
|
|
Loading…
Reference in New Issue