fix(en/gogoanime): Filter, description fix (#3126)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Gogoanime'
|
||||
extClass = '.GogoAnime'
|
||||
extVersionCode = 81
|
||||
extVersionCode = 82
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -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 {
|
||||
@ -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",
|
||||
|
@ -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"),
|
||||
|
Reference in New Issue
Block a user