Added DDHentai (#6876)
* Update NyaHentaiGenerator.kt * Create DDHentaiFactory.kt * Update NyaHentaiGenerator.kt * Create DDHentaiAFactory.kt
This commit is contained in:
parent
80cea69e2c
commit
18268d4078
18
multisrc/overrides/nyahentai/ddhentai/src/DDHentaiFactory.kt
Normal file
18
multisrc/overrides/nyahentai/ddhentai/src/DDHentaiFactory.kt
Normal file
@ -0,0 +1,18 @@
|
||||
package eu.kanade.tachiyomi.extension.all.ddhentai
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.nyahentai.NyaHentai
|
||||
import eu.kanade.tachiyomi.source.Source
|
||||
import eu.kanade.tachiyomi.source.SourceFactory
|
||||
|
||||
class DDHentaiFactory : SourceFactory {
|
||||
override fun createSources(): List<Source> = listOf(
|
||||
DDHentaiEN(),
|
||||
DDHentaiJA(),
|
||||
DDHentaiZH(),
|
||||
DDHentaiALL(),
|
||||
)
|
||||
}
|
||||
class DDHentaiEN : NyaHentai("DDHentai", "https://zh.ddhentai.com", "en")
|
||||
class DDHentaiJA : NyaHentai("DDHentai", "https://zh.ddhentai.com", "ja")
|
||||
class DDHentaiZH : NyaHentai("DDHentai", "https://zh.ddhentai.com", "zh")
|
||||
class DDHentaiALL : NyaHentai("DDHentai", "https://zh.ddhentai.com", "all")
|
@ -0,0 +1,18 @@
|
||||
package eu.kanade.tachiyomi.extension.all.ddhentaia
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.nyahentai.NyaHentai
|
||||
import eu.kanade.tachiyomi.source.Source
|
||||
import eu.kanade.tachiyomi.source.SourceFactory
|
||||
|
||||
class DDHentaiAFactory : SourceFactory {
|
||||
override fun createSources(): List<Source> = listOf(
|
||||
DDHentaiAEN(),
|
||||
DDHentaiAJA(),
|
||||
DDHentaiAZH(),
|
||||
DDHentaiAALL(),
|
||||
)
|
||||
}
|
||||
class DDHentaiAEN : NyaHentai("DDHentai A", "https://zha.ddhentai.com", "en")
|
||||
class DDHentaiAJA : NyaHentai("DDHentai A", "https://zha.ddhentai.com", "ja")
|
||||
class DDHentaiAZH : NyaHentai("DDHentai A", "https://zha.ddhentai.com", "zh")
|
||||
class DDHentaiAALL : NyaHentai("DDHentai A", "https://zha.ddhentai.com", "all")
|
@ -26,6 +26,8 @@ class NyaHentaiGenerator : ThemeSourceGenerator {
|
||||
MultiLang("BugHentai (en)", "https://en.bughentai.com", listOf("en","ja", "zh", "all"), isNsfw = true, className = "BugHentaiEnFactory", pkgName = "bughentaien"),
|
||||
MultiLang("QQHentai", "https://zhb.qqhentai.com", listOf("en","ja", "zh", "all"), isNsfw = true, className = "QQHentaiFactory"),
|
||||
MultiLang("FoxHentai", "https://ja.foxhentai.com", listOf("en","ja", "zh", "all"), isNsfw = true, className = "FoxHentaiFactory"),
|
||||
MultiLang("DDHentai", "https://zh.ddhentai.com", listOf("en","ja", "zh", "all"), isNsfw = true, className = "DDHentaiFactory"),
|
||||
MultiLang("DDHentai A", "https://zha.ddhentai.com", listOf("en","ja", "zh", "all"), isNsfw = true, className = "DDHentaiAFactory"),
|
||||
)
|
||||
|
||||
companion object {
|
||||
|
Loading…
x
Reference in New Issue
Block a user