Skip to content

Commit

Permalink
fix(es/Azanimex): fetch all movies from title (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dark25 authored Jan 17, 2025
1 parent 0876ea3 commit 7401c7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion src/es/azanimex/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
extName = 'az-animex'
extClass = '.Azanimex'
extVersionCode = 1
extVersionCode = 2
}

apply from: "$rootDir/common.gradle"
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,6 @@ class Azanimex : ParsedAnimeHttpSource() {
GET(apiUrl, headers = headers),
).execute()

if (mainUrl.contains("peliculas.az")) {
if (mainUrl.contains("peliculas.az")) {
return listOf(
SEpisode.create().apply {
val urlpeli = mainUrl.replace("https://peliculas.az-animex.com", "https://peliculas.az-animex.com/api/raw?path=")
name = "Película"
episode_number = 1f
url = urlpeli
},
)
}
return listOf(SEpisode.create())
}

return try {
val json = Json { ignoreUnknownKeys = true }
val responseBody = apiResponse.body.string()
Expand Down

0 comments on commit 7401c7f

Please sign in to comment.