From b50e09f7409265e8a3b81f1562db508dc274617e Mon Sep 17 00:00:00 2001 From: Dark25 Date: Mon, 21 Oct 2024 12:00:18 +0200 Subject: [PATCH] fix(es/Animefenix): update popularAnimeParse --- src/es/animefenix/build.gradle | 2 +- .../tachiyomi/animeextension/es/animefenix/Animefenix.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/es/animefenix/build.gradle b/src/es/animefenix/build.gradle index dc9a90db65..13df7dd2ad 100644 --- a/src/es/animefenix/build.gradle +++ b/src/es/animefenix/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Animefenix' extClass = '.Animefenix' - extVersionCode = 51 + extVersionCode = 52 } apply from: "$rootDir/common.gradle" diff --git a/src/es/animefenix/src/eu/kanade/tachiyomi/animeextension/es/animefenix/Animefenix.kt b/src/es/animefenix/src/eu/kanade/tachiyomi/animeextension/es/animefenix/Animefenix.kt index b8089111dd..dc1487bd40 100644 --- a/src/es/animefenix/src/eu/kanade/tachiyomi/animeextension/es/animefenix/Animefenix.kt +++ b/src/es/animefenix/src/eu/kanade/tachiyomi/animeextension/es/animefenix/Animefenix.kt @@ -43,7 +43,7 @@ class Animefenix : ConfigurableAnimeSource, AnimeHttpSource() { override val name = "AnimeFenix" - override val baseUrl = "https://www.animefenix.tv" + override val baseUrl = "https://www3.animefenix.tv" override val lang = "es" @@ -71,7 +71,7 @@ class Animefenix : ConfigurableAnimeSource, AnimeHttpSource() { override fun popularAnimeParse(response: Response): AnimesPage { val document = response.asJsoup() - val elements = document.select("main > div.container > div.grid > div.group") + val elements = document.select("div.container .grid.gap-4 a[href]") val nextPage = document.select("nav[aria-label=Pagination] span:containsOwn(Next)").any() val animeList = elements.map { element -> SAnime.create().apply {