lots of background work for manga extensions
This commit is contained in:
parent
dbe573131e
commit
57a584a820
123 changed files with 2676 additions and 553 deletions
|
@ -1,34 +1,11 @@
|
|||
package ani.dantotsu.parsers
|
||||
|
||||
import ani.dantotsu.Lazier
|
||||
import ani.dantotsu.aniyomi.anime.model.AnimeExtension
|
||||
import eu.kanade.tachiyomi.extension.anime.model.AnimeExtension
|
||||
import ani.dantotsu.lazyList
|
||||
//import ani.dantotsu.parsers.anime.AllAnime
|
||||
//import ani.dantotsu.parsers.anime.AnimeDao
|
||||
//import ani.dantotsu.parsers.anime.AnimePahe
|
||||
//import ani.dantotsu.parsers.anime.Gogo
|
||||
//import ani.dantotsu.parsers.anime.Haho
|
||||
//import ani.dantotsu.parsers.anime.HentaiFF
|
||||
//import ani.dantotsu.parsers.anime.HentaiMama
|
||||
//import ani.dantotsu.parsers.anime.HentaiStream
|
||||
//import ani.dantotsu.parsers.anime.Marin
|
||||
//import ani.dantotsu.parsers.anime.AniWave
|
||||
//import ani.dantotsu.parsers.anime.Kaido
|
||||
import kotlinx.coroutines.flow.StateFlow
|
||||
import kotlinx.coroutines.flow.first
|
||||
/*
|
||||
object AnimeSources_old : WatchSources() {
|
||||
override val list: List<Lazier<BaseParser>> = lazyList(
|
||||
"AllAnime" to ::AllAnime,
|
||||
"Gogo" to ::Gogo,
|
||||
"Kaido" to ::Kaido,
|
||||
"Marin" to ::Marin,
|
||||
"AnimePahe" to ::AnimePahe,
|
||||
"AniWave" to ::AniWave,
|
||||
"AnimeDao" to ::AnimeDao,
|
||||
)
|
||||
}
|
||||
*/
|
||||
|
||||
object AnimeSources : WatchSources() {
|
||||
override var list: List<Lazier<BaseParser>> = emptyList()
|
||||
|
||||
|
@ -52,13 +29,8 @@ object AnimeSources : WatchSources() {
|
|||
}
|
||||
|
||||
|
||||
|
||||
object HAnimeSources : WatchSources() {
|
||||
private val aList: List<Lazier<BaseParser>> = lazyList(
|
||||
//"HentaiMama" to ::HentaiMama,
|
||||
//"Haho" to ::Haho,
|
||||
//"HentaiStream" to ::HentaiStream,
|
||||
//"HentaiFF" to ::HentaiFF,
|
||||
)
|
||||
|
||||
override val list = listOf(aList,AnimeSources.list).flatten()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue