fix(en/gogoanime): Filter, description fix (#3126)
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Gogoanime'
|
extName = 'Gogoanime'
|
||||||
extClass = '.GogoAnime'
|
extClass = '.GogoAnime'
|
||||||
extVersionCode = 81
|
extVersionCode = 82
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -106,7 +106,8 @@ class GogoAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
status = parseStatus(infoDocument.getInfo("Status:").orEmpty())
|
status = parseStatus(infoDocument.getInfo("Status:").orEmpty())
|
||||||
|
|
||||||
description = buildString {
|
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
|
// add alternative name to anime description
|
||||||
infoDocument.getInfo("Other name:")?.also {
|
infoDocument.getInfo("Other name:")?.also {
|
||||||
@ -223,7 +224,8 @@ class GogoAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
|||||||
"Mp4upload",
|
"Mp4upload",
|
||||||
"FileLions",
|
"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",
|
"vidcdn",
|
||||||
"anime",
|
"anime",
|
||||||
"doodstream",
|
"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'))
|
// 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
|
// on /filter.html
|
||||||
val YEAR_SEARCH_LIST = arrayOf(
|
val YEAR_SEARCH_LIST = arrayOf(
|
||||||
|
Pair("2024", "2024"),
|
||||||
Pair("2023", "2023"),
|
Pair("2023", "2023"),
|
||||||
Pair("2022", "2022"),
|
Pair("2022", "2022"),
|
||||||
Pair("2021", "2021"),
|
Pair("2021", "2021"),
|
||||||
|
Reference in New Issue
Block a user