forked from Kohi-den/extensions-source
Initial commit
This commit is contained in:
commit
98ed7e8839
2263 changed files with 108711 additions and 0 deletions
17
src/es/tiodonghua/build.gradle
Normal file
17
src/es/tiodonghua/build.gradle
Normal file
|
@ -0,0 +1,17 @@
|
|||
ext {
|
||||
extName = 'Tiodonghua.com'
|
||||
extClass = '.Tiodonghua'
|
||||
themePkg = 'animestream'
|
||||
baseUrl = 'https://anime.tiodonghua.com'
|
||||
overrideVersionCode = 3
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation(project(":lib:okru-extractor"))
|
||||
implementation(project(":lib:mixdrop-extractor"))
|
||||
implementation(project(":lib:voe-extractor"))
|
||||
implementation(project(":lib:yourupload-extractor"))
|
||||
}
|
BIN
src/es/tiodonghua/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/es/tiodonghua/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
src/es/tiodonghua/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/es/tiodonghua/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
BIN
src/es/tiodonghua/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/es/tiodonghua/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
src/es/tiodonghua/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/es/tiodonghua/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
BIN
src/es/tiodonghua/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/es/tiodonghua/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
|
@ -0,0 +1,34 @@
|
|||
package eu.kanade.tachiyomi.animeextension.es.tiodonghua
|
||||
|
||||
import eu.kanade.tachiyomi.animesource.model.Video
|
||||
import eu.kanade.tachiyomi.lib.mixdropextractor.MixDropExtractor
|
||||
import eu.kanade.tachiyomi.lib.okruextractor.OkruExtractor
|
||||
import eu.kanade.tachiyomi.lib.voeextractor.VoeExtractor
|
||||
import eu.kanade.tachiyomi.lib.youruploadextractor.YourUploadExtractor
|
||||
import eu.kanade.tachiyomi.multisrc.animestream.AnimeStream
|
||||
|
||||
class Tiodonghua : AnimeStream(
|
||||
"es",
|
||||
"Tiodonghua.com",
|
||||
"https://anime.tiodonghua.com",
|
||||
) {
|
||||
|
||||
// ============================ Video Links =============================
|
||||
private val okruExtractor by lazy { OkruExtractor(client) }
|
||||
private val voeExtractor by lazy { VoeExtractor(client) }
|
||||
private val youruploadExtractor by lazy { YourUploadExtractor(client) }
|
||||
private val mixdropExtractor by lazy { MixDropExtractor(client) }
|
||||
|
||||
override fun getVideoList(url: String, name: String): List<Video> {
|
||||
return when (name) {
|
||||
"Okru" -> okruExtractor.videosFromUrl(url)
|
||||
"Voe" -> voeExtractor.videosFromUrl(url)
|
||||
"YourUpload" -> youruploadExtractor.videoFromUrl(url, headers)
|
||||
"MixDrop" -> mixdropExtractor.videosFromUrl(url)
|
||||
else -> emptyList()
|
||||
}
|
||||
}
|
||||
|
||||
override val fetchFilters: Boolean
|
||||
get() = false
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue