File tree Expand file tree Collapse file tree
src/main/kotlin/org/dokiteam/doki/parsers/site/madara/pt Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,13 +9,15 @@ import org.dokiteam.doki.parsers.site.madara.MadaraParser
99import org.dokiteam.doki.parsers.util.*
1010import java.text.SimpleDateFormat
1111
12- @MangaSourceParser(" NEOX_SCANS" , " NeoxScans " , " pt" )
12+ @MangaSourceParser(" NEOX_SCANS" , " Manga Livre " , " pt" )
1313internal class Neoxscans (context : MangaLoaderContext ) :
14- MadaraParser (context, MangaParserSource .NEOX_SCANS , " mangalivre.net" , 18 ) {
14+ MadaraParser (context, MangaParserSource .NEOX_SCANS , " mangalivre.tv" , 18 ) {
15+
16+ override val withoutAjax = false
1517 override val datePattern = " dd/MM/yyyy"
1618
1719 override suspend fun loadChapters (mangaUrl : String , document : Document ): List <MangaChapter > {
18- val url = mangaUrl.toAbsoluteUrl(domain).removeSuffix(' /' ) + " /ajax/chapters/ "
20+ val url = mangaUrl.toAbsoluteUrl(domain).removeSuffix(' /' ) + " /ajax/chapters?t=1 "
1921 val doc = webClient.httpPost(url, emptyMap()).parseHtml()
2022 val dateFormat = SimpleDateFormat (datePattern, sourceLocale)
2123 return doc.select(selectChapter).mapChapters(reversed = true ) { i, li ->
You can’t perform that action at this time.
0 commit comments