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

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