Bato.to: remove broken mirrors, add new mirrors (#17211)
* Bato.to: remove broken mirrors * Bato.to: add more mirrors * create MIRROR_PREF_ENTRY_VALUES from MIRROR_PREF_ENTRIES
This commit is contained in:
parent
da0e1213a3
commit
630c947027
@ -6,7 +6,7 @@ ext {
|
|||||||
extName = 'Bato.to'
|
extName = 'Bato.to'
|
||||||
pkgNameSuffix = 'all.batoto'
|
pkgNameSuffix = 'all.batoto'
|
||||||
extClass = '.BatoToFactory'
|
extClass = '.BatoToFactory'
|
||||||
extVersionCode = 31
|
extVersionCode = 32
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -938,36 +938,32 @@ open class BatoTo(
|
|||||||
private const val MIRROR_PREF_TITLE = "Mirror"
|
private const val MIRROR_PREF_TITLE = "Mirror"
|
||||||
private val MIRROR_PREF_ENTRIES = arrayOf(
|
private val MIRROR_PREF_ENTRIES = arrayOf(
|
||||||
"bato.to",
|
"bato.to",
|
||||||
"batocc.com",
|
"batocomic.com",
|
||||||
|
"batocomic.net",
|
||||||
|
"batocomic.org",
|
||||||
"batotoo.com",
|
"batotoo.com",
|
||||||
"batotwo.com",
|
"batotwo.com",
|
||||||
"battwo.com",
|
"battwo.com",
|
||||||
"comiko.net",
|
"comiko.net",
|
||||||
|
"comiko.org",
|
||||||
"mangatoto.com",
|
"mangatoto.com",
|
||||||
"mangatoto.net",
|
"mangatoto.net",
|
||||||
"mangatoto.org",
|
"mangatoto.org",
|
||||||
"mycordant.co.uk",
|
"readtoto.com",
|
||||||
|
"readtoto.net",
|
||||||
|
"readtoto.org",
|
||||||
"dto.to",
|
"dto.to",
|
||||||
"hto.to",
|
"hto.to",
|
||||||
"mto.to",
|
"mto.to",
|
||||||
"wto.to",
|
"wto.to",
|
||||||
|
"xbato.com",
|
||||||
|
"xbato.net",
|
||||||
|
"xbato.org",
|
||||||
|
"zbato.com",
|
||||||
|
"zbato.net",
|
||||||
|
"zbato.org",
|
||||||
)
|
)
|
||||||
private val MIRROR_PREF_ENTRY_VALUES = arrayOf(
|
private val MIRROR_PREF_ENTRY_VALUES = MIRROR_PREF_ENTRIES.map { "https://$it" }.toTypedArray()
|
||||||
"https://bato.to",
|
|
||||||
"https://batocc.com",
|
|
||||||
"https://batotoo.com",
|
|
||||||
"https://batotwo.com",
|
|
||||||
"https://battwo.com",
|
|
||||||
"https://comiko.net",
|
|
||||||
"https://mangatoto.com",
|
|
||||||
"https://mangatoto.net",
|
|
||||||
"https://mangatoto.org",
|
|
||||||
"https://mycordant.co.uk",
|
|
||||||
"https://dto.to",
|
|
||||||
"https://hto.to",
|
|
||||||
"https://mto.to",
|
|
||||||
"https://wto.to",
|
|
||||||
)
|
|
||||||
private val MIRROR_PREF_DEFAULT_VALUE = MIRROR_PREF_ENTRY_VALUES[0]
|
private val MIRROR_PREF_DEFAULT_VALUE = MIRROR_PREF_ENTRY_VALUES[0]
|
||||||
|
|
||||||
private const val ALT_CHAPTER_LIST_PREF_KEY = "ALT_CHAPTER_LIST"
|
private const val ALT_CHAPTER_LIST_PREF_KEY = "ALT_CHAPTER_LIST"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user