Update Anime4Up.kt (#428)

This commit is contained in:
Dark25 2024-12-12 23:01:41 +01:00 committed by GitHub
parent b73187e5cd
commit cfd66d9bee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -148,7 +148,7 @@ class Anime4Up : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
val name: String, val name: String,
val link: String, val link: String,
val order: String, val order: String,
val icon: Boolean val icon: Boolean,
) )
override fun videoListParse(response: Response): List<Video> { override fun videoListParse(response: Response): List<Video> {
@ -179,7 +179,7 @@ class Anime4Up : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
val qualities = Qualities( val qualities = Qualities(
fhd = parsedFhd.associate { it.name to it.link }, fhd = parsedFhd.associate { it.name to it.link },
hd = parsedHd.associate { it.name to it.link }, hd = parsedHd.associate { it.name to it.link },
sd = parsedSd.associate { it.name to it.link } sd = parsedSd.associate { it.name to it.link },
) )
// Use the same logic as the old implementation // Use the same logic as the old implementation