Skip to content

Commit

Permalink
fix(en/gogoanime): Filter, description fix (#3126)
Browse files Browse the repository at this point in the history
  • Loading branch information
khaled-0 authored Apr 5, 2024
1 parent a12caa1 commit 8df2435
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/en/gogoanime/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
extName = 'Gogoanime'
extClass = '.GogoAnime'
extVersionCode = 81
extVersionCode = 82
}

apply from: "$rootDir/common.gradle"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ class GogoAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
status = parseStatus(infoDocument.getInfo("Status:").orEmpty())

description = buildString {
infoDocument.getInfo("Plot Summary:")?.also(::append)
val summary = infoDocument.selectFirst("div.anime_info_body_bg > div.description")
append(summary?.text())

// add alternative name to anime description
infoDocument.getInfo("Other name:")?.also {
Expand Down Expand Up @@ -223,7 +224,8 @@ class GogoAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
"Mp4upload",
"FileLions",
)
private val HOSTERS_NAMES = arrayOf( // Names that appears in the gogo html
private val HOSTERS_NAMES = arrayOf(
// Names that appears in the gogo html
"vidcdn",
"anime",
"doodstream",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ object GogoAnimeFilters {
// copy($("div.cls_year ul.dropdown-menu li").map((i,el) => `Pair("${$(el).text().trim()}", "${$(el).find("input").first().attr('value')}")`).get().join(',\n'))
// on /filter.html
val YEAR_SEARCH_LIST = arrayOf(
Pair("2024", "2024"),
Pair("2023", "2023"),
Pair("2022", "2022"),
Pair("2021", "2021"),
Expand Down

0 comments on commit 8df2435

Please sign in to comment.