Skip to content

Commit

Permalink
fix(tr/tranimeci): Fix anime details page + implement search by name
Browse files Browse the repository at this point in the history
  • Loading branch information
Dark25 committed Jul 27, 2024
1 parent 49b0db8 commit 2a9258a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/tr/tranimeci/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ext {
extClass = '.TRAnimeCI'
themePkg = 'animestream'
baseUrl = 'https://tranimaci.com'
overrideVersionCode = 1
overrideVersionCode = 2
}

apply from: "$rootDir/common.gradle"
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class TRAnimeCI : AnimeStream(
.addIfNotBlank("season[]", params.season)
.addIfNotBlank("format[]", params.type)
.addIfNotBlank("studio[]", params.studio)
.addIfNotBlank("name", query)
.build()

return GET(url.toString(), headers)
Expand Down Expand Up @@ -99,6 +100,7 @@ class TRAnimeCI : AnimeStream(
// =========================== Anime Details ============================
override val animeDetailsSelector = "div.infox"
override val animeStatusText = "Durum"
override val animeTitleSelector = ".entry-title"

override fun parseStatus(statusString: String?): Int {
return when (statusString?.trim()?.lowercase()) {
Expand Down

0 comments on commit 2a9258a

Please sign in to comment.