fix(en/zoro): Update URL to hianime (#3041)
@ -1,9 +1,9 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'AniWatch'
|
extName = 'HiAnime'
|
||||||
extClass = '.AniWatch'
|
extClass = '.HiAnime'
|
||||||
themePkg = 'zorotheme'
|
themePkg = 'zorotheme'
|
||||||
baseUrl = 'https://aniwatch.to'
|
baseUrl = 'https://hianime.to'
|
||||||
overrideVersionCode = 39
|
overrideVersionCode = 40
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
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.lib.streamtapeextractor.StreamTapeExtractor
|
||||||
import eu.kanade.tachiyomi.multisrc.zorotheme.ZoroTheme
|
import eu.kanade.tachiyomi.multisrc.zorotheme.ZoroTheme
|
||||||
|
|
||||||
class AniWatch : ZoroTheme(
|
class HiAnime : ZoroTheme(
|
||||||
"en",
|
"en",
|
||||||
"AniWatch",
|
"HiAnime",
|
||||||
"https://aniwatch.to",
|
"https://hianime.to",
|
||||||
) {
|
) {
|
||||||
override val id = 6706411382606718900L
|
override val id = 6706411382606718900L
|
||||||
|
|
||||||
override val ajaxRoute = "/v2"
|
override val ajaxRoute = "/v2"
|
||||||
|
|
||||||
override val hosterNames: List<String> = listOf(
|
override val hosterNames: List<String> = listOf(
|
||||||
"Vidstreaming",
|
"HD-1",
|
||||||
"MegaCloud",
|
"HD-2",
|
||||||
"StreamTape",
|
"StreamTape",
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ class AniWatch : ZoroTheme(
|
|||||||
?.let(::listOf)
|
?.let(::listOf)
|
||||||
?: emptyList()
|
?: 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()
|
else -> emptyList()
|
||||||
}
|
}
|
||||||
}
|
}
|