Skip to content

Commit

Permalink
Mitaku: Fix browse (#6924)
Browse files Browse the repository at this point in the history
fix selector
  • Loading branch information
dngonz authored Jan 3, 2025
1 parent 1a56566 commit 177e81f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/all/mitaku/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
extName = 'Mitaku'
extClass = '.Mitaku'
extVersionCode = 1
extVersionCode = 2
isNsfw = true
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Mitaku : ParsedHttpSource() {
// ============================== Popular ===============================
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 {
setUrlWithoutDomain(element.selectFirst("a")!!.absUrl("href"))
Expand Down

0 comments on commit 177e81f

Please sign in to comment.