GuncelManga: update domain, fix date and description (#2831)

This commit is contained in:
Vetle Ledaal 2024-05-04 17:42:32 +00:00 committed by Draff
parent 5249c98336
commit 4fa30fc8cb
2 changed files with 17 additions and 3 deletions

View File

@ -2,8 +2,9 @@ ext {
extName = 'GuncelManga' extName = 'GuncelManga'
extClass = '.GuncelManga' extClass = '.GuncelManga'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://guncelmanga.com' baseUrl = 'https://guncelmanga.net'
overrideVersionCode = 1 overrideVersionCode = 2
isNsfw = false
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -1,5 +1,18 @@
package eu.kanade.tachiyomi.extension.tr.guncelmanga package eu.kanade.tachiyomi.extension.tr.guncelmanga
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class GuncelManga : Madara("GuncelManga", "https://guncelmanga.com", "tr") class GuncelManga : Madara(
"GuncelManga",
"https://guncelmanga.net",
"tr",
dateFormat = SimpleDateFormat("d MMMM yyyy", Locale("tr")),
) {
override val mangaDetailsSelectorDescription = "div.description-summary"
override val altNameSelector = ".post-content_item:contains(Diğer Adları) .summary-content"
override val useLoadMoreRequest = LoadMoreStrategy.Always
override val useNewChapterEndpoint = false
}