Add back Japanese subdomain (#7794)
This commit is contained in:
parent
8b4eb2b7ed
commit
030a972da0
|
@ -0,0 +1,16 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.all.mangatoro
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.wpcomics.WPComics
|
||||||
|
import eu.kanade.tachiyomi.source.Source
|
||||||
|
import eu.kanade.tachiyomi.source.SourceFactory
|
||||||
|
|
||||||
|
class MangaToroFactory : SourceFactory {
|
||||||
|
override fun createSources(): List<Source> = listOf(
|
||||||
|
MangaToro(),
|
||||||
|
MangaToroRAW(),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
class MangaToroRAW : WPComics("MangaToro RAW", "https://ja.mangatoro.com", "ja")
|
||||||
|
|
||||||
|
class MangaToro : WPComics("MangaToro", "https://mangatoro.com", "en")
|
|
@ -13,7 +13,7 @@ class WPComicsGenerator : ThemeSourceGenerator {
|
||||||
override val baseVersionCode: Int = 1
|
override val baseVersionCode: Int = 1
|
||||||
|
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("MangaToro", "https://mangatoro.com", "en"),
|
MultiLang("MangaToro", "https://mangatoro.com", listOf("en", "ja")),
|
||||||
SingleLang("NetTruyen", "https://www.nettruyen.com", "vi", overrideVersionCode = 1),
|
SingleLang("NetTruyen", "https://www.nettruyen.com", "vi", overrideVersionCode = 1),
|
||||||
SingleLang("NhatTruyen", "http://nhattruyen.com", "vi", overrideVersionCode = 1),
|
SingleLang("NhatTruyen", "http://nhattruyen.com", "vi", overrideVersionCode = 1),
|
||||||
SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 1),
|
SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 1),
|
||||||
|
|
Loading…
Reference in New Issue