Anime-Loads: small fix addition (#1084)

This commit is contained in:
LuftVerbot
2022-12-17 02:27:49 +01:00
committed by GitHub
parent fe39cfaf17
commit b9baccbf78
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Anime-Loads'
pkgNameSuffix = 'de.animeloads'
extClass = '.AnimeLoads'
extVersionCode = 3
extVersionCode = 4
libVersion = '13'
}

View File

@ -126,7 +126,7 @@ class AnimeLoads : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
lang.forEach { langit ->
Log.i("videosFromElement", "Langit: $langit")
when {
langit.select("a i.flag-de").attr("title").contains("Subtitles: German") || langit.select("a i.flag-de").attr("title").contains("Untertitel: German") && subSelection?.contains("sub") == true -> {
langit.select("a i.flag-de").attr("title").contains("Subtitles: German") || langit.select("a i.flag-de").attr("title").contains("Untertitel: Deutsch") && subSelection?.contains("sub") == true -> {
val aria = langit.select("a").attr("aria-controls")
val id = document.select("#$aria div.episodes").attr("id")
val epnum = idep.substringAfter("streams_episodes_1")
@ -356,7 +356,7 @@ class AnimeLoads : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
}
}
}
langit.select("a i.flag-de").attr("title").contains("Language: German") || langit.select("a i.flag-de").attr("title").contains("Sprache: German") && subSelection?.contains("dub") == true -> {
langit.select("a i.flag-de").attr("title").contains("Language: German") || langit.select("a i.flag-de").attr("title").contains("Sprache: Deutsch") && subSelection?.contains("dub") == true -> {
val aria = langit.select("a").attr("aria-controls")
val id = document.select("#$aria div.episodes").attr("id")
val epnum = idep.substringAfter("streams_episodes_1")