Mitaku: Fix browse (#6924)

fix selector
This commit is contained in:
dngonz 2025-01-03 08:43:12 +01:00 committed by Draff
parent 5143199e08
commit 2821b0dce8
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'Mitaku' extName = 'Mitaku'
extClass = '.Mitaku' extClass = '.Mitaku'
extVersionCode = 1 extVersionCode = 2
isNsfw = true isNsfw = true
} }

View File

@ -26,7 +26,7 @@ class Mitaku : ParsedHttpSource() {
// ============================== Popular =============================== // ============================== Popular ===============================
override fun popularMangaRequest(page: Int) = GET("$baseUrl/category/ero-cosplay/page/$page", headers) override fun popularMangaRequest(page: Int) = GET("$baseUrl/category/ero-cosplay/page/$page", headers)
override fun popularMangaSelector() = "div.article-container article" override fun popularMangaSelector() = "div.cm-primary article"
override fun popularMangaFromElement(element: Element) = SManga.create().apply { override fun popularMangaFromElement(element: Element) = SManga.create().apply {
setUrlWithoutDomain(element.selectFirst("a")!!.absUrl("href")) setUrlWithoutDomain(element.selectFirst("a")!!.absUrl("href"))