forked from AlmightyHak/extensions-source
Initial commit
This commit is contained in:
commit
98ed7e8839
2263 changed files with 108711 additions and 0 deletions
15
src/es/animeytes/build.gradle
Normal file
15
src/es/animeytes/build.gradle
Normal file
|
@ -0,0 +1,15 @@
|
|||
ext {
|
||||
extName = 'AnimeYT.es'
|
||||
extClass = '.AnimeYTES'
|
||||
themePkg = 'animestream'
|
||||
baseUrl = 'https://animeyt.es'
|
||||
overrideVersionCode = 3
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
||||
dependencies {
|
||||
implementation(project(":lib:okru-extractor"))
|
||||
implementation(project(":lib:streamtape-extractor"))
|
||||
implementation(project(":lib:sendvid-extractor"))
|
||||
}
|
BIN
src/es/animeytes/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/es/animeytes/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.4 KiB |
BIN
src/es/animeytes/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/es/animeytes/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
BIN
src/es/animeytes/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/es/animeytes/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
src/es/animeytes/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/es/animeytes/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
src/es/animeytes/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/es/animeytes/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 50 KiB |
|
@ -0,0 +1,29 @@
|
|||
package eu.kanade.tachiyomi.animeextension.es.animeytes
|
||||
|
||||
import eu.kanade.tachiyomi.animesource.model.Video
|
||||
import eu.kanade.tachiyomi.lib.okruextractor.OkruExtractor
|
||||
import eu.kanade.tachiyomi.lib.sendvidextractor.SendvidExtractor
|
||||
import eu.kanade.tachiyomi.lib.streamtapeextractor.StreamTapeExtractor
|
||||
import eu.kanade.tachiyomi.multisrc.animestream.AnimeStream
|
||||
|
||||
class AnimeYTES : AnimeStream(
|
||||
"es",
|
||||
"AnimeYT.es",
|
||||
"https://animeyt.es",
|
||||
) {
|
||||
override val animeListUrl = "$baseUrl/tv"
|
||||
|
||||
// ============================ Video Links =============================
|
||||
private val okruExtractor by lazy { OkruExtractor(client) }
|
||||
private val streamtapeExtractor by lazy { StreamTapeExtractor(client) }
|
||||
private val sendvidExtractor by lazy { SendvidExtractor(client, headers) }
|
||||
|
||||
override fun getVideoList(url: String, name: String): List<Video> {
|
||||
return when (name) {
|
||||
"OK" -> okruExtractor.videosFromUrl(url)
|
||||
"Stream" -> streamtapeExtractor.videosFromUrl(url)
|
||||
"Send" -> sendvidExtractor.videosFromUrl(url)
|
||||
else -> emptyList()
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue