fix(en/zoro): Update URL to hianime (#3041)

This commit is contained in:
Secozzi 2024-03-10 22:00:06 +00:00 committed by GitHub
parent d45ca9bee1
commit ac22fc58e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 10 additions and 10 deletions

View File

@ -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"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

View File

@ -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()
}
}