Skip to content

Commit

Permalink
fix(es/Animefenix): update popularAnimeParse (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dark25 authored Oct 21, 2024
1 parent 9f2bee0 commit e531f19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/es/animefenix/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
extName = 'Animefenix'
extClass = '.Animefenix'
extVersionCode = 51
extVersionCode = 52
}

apply from: "$rootDir/common.gradle"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit e531f19

Please sign in to comment.