From f727ef9c522fac311ca06250eefd412873667b56 Mon Sep 17 00:00:00 2001 From: Dark25 Date: Sat, 27 Jan 2024 01:54:36 +0100 Subject: [PATCH] fix(es/Hackstore): Fix orden ep and not found description --- .../kanade/tachiyomi/animeextension/es/hackstore/Hackstore.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/es/hackstore/src/eu/kanade/tachiyomi/animeextension/es/hackstore/Hackstore.kt b/src/es/hackstore/src/eu/kanade/tachiyomi/animeextension/es/hackstore/Hackstore.kt index 863c987c1c..68e2ab15a8 100644 --- a/src/es/hackstore/src/eu/kanade/tachiyomi/animeextension/es/hackstore/Hackstore.kt +++ b/src/es/hackstore/src/eu/kanade/tachiyomi/animeextension/es/hackstore/Hackstore.kt @@ -117,7 +117,7 @@ class Hackstore : ConfigurableAnimeSource, ParsedAnimeHttpSource() { // =========================== Anime Details ============================ override fun animeDetailsParse(document: Document): SAnime { - val ismovie = getFilterList().find { it is GenreFilter }?.let { it as GenreFilter }?.toUriPart() == "peliculas" + val ismovie = document.selectFirst("#main-content > div > div.content-area.twelve.columns > div.watch-content > center > div > p:nth-child(1)") != null if (ismovie) { val anime = SAnime.create() anime.description = document.selectFirst("#main-content > div > div.content-area.twelve.columns > div.watch-content > center > div > p:nth-child(1)")!!.text().removeSurrounding("\"") @@ -175,6 +175,7 @@ class Hackstore : ConfigurableAnimeSource, ParsedAnimeHttpSource() { episode.name = "T$seasonNumber - E$episodeNumber" episode.episode_number = episodeNumber.toFloat() + episodeList.add(0, episode) episode.setUrlWithoutDomain(episodeLink) episodeList.add(episode)