split paprika (#5798)
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
|
@ -1,4 +1,4 @@
|
|||
package eu.kanade.tachiyomi.extension.all.paprika
|
||||
package eu.kanade.tachiyomi.multisrc.paprika
|
||||
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.source.model.Filter
|
|
@ -1,4 +1,4 @@
|
|||
package eu.kanade.tachiyomi.extension.all.paprika
|
||||
package eu.kanade.tachiyomi.multisrc.paprika
|
||||
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.source.model.FilterList
|
|
@ -0,0 +1,27 @@
|
|||
package eu.kanade.tachiyomi.multisrc.paprika
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.ThemeSourceData.SingleLang
|
||||
import eu.kanade.tachiyomi.multisrc.ThemeSourceGenerator
|
||||
import eu.kanade.tachiyomi.source.Source
|
||||
import eu.kanade.tachiyomi.source.SourceFactory
|
||||
|
||||
|
||||
class PaprikaAltGenerator : ThemeSourceGenerator {
|
||||
|
||||
override val themePkg = "paprika"
|
||||
|
||||
override val themeClass = "PaprikaAlt"
|
||||
|
||||
override val baseVersionCode: Int = 1
|
||||
|
||||
override val sources = listOf(
|
||||
SingleLang("MangaReader.cc", "http://mangareader.cc/", "en", className = "MangaReaderCC") // more sites in the future might use MangaReader.cc 's overrides as they did in the past
|
||||
)
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun main(args: Array<String>) {
|
||||
PaprikaAltGenerator().createAll()
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
package eu.kanade.tachiyomi.multisrc.paprika
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.ThemeSourceData.SingleLang
|
||||
import eu.kanade.tachiyomi.multisrc.ThemeSourceGenerator
|
||||
import eu.kanade.tachiyomi.source.Source
|
||||
import eu.kanade.tachiyomi.source.SourceFactory
|
||||
|
||||
|
||||
class PaprikaGenerator : ThemeSourceGenerator {
|
||||
|
||||
override val themePkg = "paprika"
|
||||
|
||||
override val themeClass = "Paprika"
|
||||
|
||||
override val baseVersionCode: Int = 1
|
||||
|
||||
override val sources = listOf(
|
||||
SingleLang("MangaStream.xyz", "http://mangastream.xyz", "en", className = "MangaStreamXYZ"),
|
||||
SingleLang("ReadMangaFox", "http://readmangafox.xyz", "en"),
|
||||
// SingleLang("MangaZuki.xyz", "http://mangazuki.xyz", "en", className = "MangaZuki"),
|
||||
// SingleLang("MangaTensei", "http://www.mangatensei.com", "en"),
|
||||
SingleLang("MangaNelos.com", "http://manganelos.com", "en", className = "MangaNelosCom"),
|
||||
SingleLang("MangaDogs.fun", "http://mangadogs.fun", "en", className = "MangaDogsFun"),
|
||||
)
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun main(args: Array<String>) {
|
||||
PaprikaGenerator().createAll()
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest package="eu.kanade.tachiyomi.extension" />
|
|
@ -1,12 +0,0 @@
|
|||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
ext {
|
||||
extName = 'Paprika'
|
||||
pkgNameSuffix = 'all.paprika'
|
||||
extClass = '.PaprikaFactory'
|
||||
extVersionCode = 7
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
|
@ -1,26 +0,0 @@
|
|||
package eu.kanade.tachiyomi.extension.all.paprika
|
||||
|
||||
import eu.kanade.tachiyomi.source.Source
|
||||
import eu.kanade.tachiyomi.source.SourceFactory
|
||||
|
||||
class PaprikaFactory : SourceFactory {
|
||||
override fun createSources(): List<Source> = listOf(
|
||||
MangazukiXyz(),
|
||||
MangaTensei(),
|
||||
MangaNelo(),
|
||||
// MangaWindowClub(),
|
||||
MangaDogs(),
|
||||
ReadMangaFox(),
|
||||
MangaStreamXyz(),
|
||||
MangaReader()
|
||||
)
|
||||
}
|
||||
|
||||
class MangaStreamXyz : Paprika("MangaStream.xyz", "http://mangastream.xyz", "en")
|
||||
class ReadMangaFox : Paprika("ReadMangaFox", "http://readmangafox.xyz", "en")
|
||||
class MangazukiXyz : Paprika("MangaZuki.xyz", "http://mangazuki.xyz", "en")
|
||||
class MangaTensei : Paprika("MangaTensei", "https://www.mangatensei.com", "en")
|
||||
class MangaNelo : Paprika("MangaNelos.com", "http://manganelos.com", "en")
|
||||
// class MangaWindowClub : PaprikaAlt("MangaWindow.club", "https://mangawindow.club", "en")
|
||||
class MangaDogs : Paprika("MangaDogs.fun", "http://mangadogs.fun", "en")
|
||||
class MangaReader : PaprikaAlt("MangaReader.cc", "http://mangareader.cc/", "en")
|