fix(en/zoro): Update URL to hianime (#3041)
@ -1,9 +1,9 @@
|
||||
ext {
|
||||
extName = 'AniWatch'
|
||||
extClass = '.AniWatch'
|
||||
extName = 'HiAnime'
|
||||
extClass = '.HiAnime'
|
||||
themePkg = 'zorotheme'
|
||||
baseUrl = 'https://aniwatch.to'
|
||||
overrideVersionCode = 39
|
||||
baseUrl = 'https://hianime.to'
|
||||
overrideVersionCode = 40
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 40 KiB |
@ -5,18 +5,18 @@ import eu.kanade.tachiyomi.lib.megacloudextractor.MegaCloudExtractor
|
||||
import eu.kanade.tachiyomi.lib.streamtapeextractor.StreamTapeExtractor
|
||||
import eu.kanade.tachiyomi.multisrc.zorotheme.ZoroTheme
|
||||
|
||||
class AniWatch : ZoroTheme(
|
||||
class HiAnime : ZoroTheme(
|
||||
"en",
|
||||
"AniWatch",
|
||||
"https://aniwatch.to",
|
||||
"HiAnime",
|
||||
"https://hianime.to",
|
||||
) {
|
||||
override val id = 6706411382606718900L
|
||||
|
||||
override val ajaxRoute = "/v2"
|
||||
|
||||
override val hosterNames: List<String> = listOf(
|
||||
"Vidstreaming",
|
||||
"MegaCloud",
|
||||
"HD-1",
|
||||
"HD-2",
|
||||
"StreamTape",
|
||||
)
|
||||
|
||||
@ -30,7 +30,7 @@ class AniWatch : ZoroTheme(
|
||||
?.let(::listOf)
|
||||
?: emptyList()
|
||||
}
|
||||
"Vidstreaming", "MegaCloud" -> megaCloudExtractor.getVideosFromUrl(server.link, server.type, server.name)
|
||||
"HD-1", "HD-2" -> megaCloudExtractor.getVideosFromUrl(server.link, server.type, server.name)
|
||||
else -> emptyList()
|
||||
}
|
||||
}
|