Merge pull request #183 from davvarrr/patch-4

Fix uloaddate and force Enables list
pull/185/head
Koitharu 3 years ago committed by GitHub
commit 396508da6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,15 +50,16 @@ internal abstract class Madara6Parser(
val doc = webClient.httpPost(url, emptyMap()).parseHtml()
return doc.select("li.wp-manga-chapter").mapChapters(reversed = true) { i, li ->
val a = li.selectFirstOrThrow("a")
val href = a.attrAsRelativeUrl("href")
val href = a.attrAsRelativeUrl("href") + "?style=list"
MangaChapter(
id = generateUid(href),
url = href,
name = a.text(),
number = i + 1,
branch = null,
uploadDate = dateFormat.tryParse(
li.selectFirst(".chapter-release-date")?.text()?.trim(),
uploadDate = parseChapterDate(
dateFormat,
li.selectFirst("span.chapter-release-date i")?.text(),
),
scanlator = null,
source = source,

Loading…
Cancel
Save