|
|
|
@ -2,6 +2,7 @@ package org.koitharu.kotatsu.parsers.site.all
|
|
|
|
|
|
|
|
|
|
|
|
import org.jsoup.nodes.Document
|
|
|
|
import org.jsoup.nodes.Document
|
|
|
|
import org.jsoup.nodes.Element
|
|
|
|
import org.jsoup.nodes.Element
|
|
|
|
|
|
|
|
import org.koitharu.kotatsu.parsers.Broken
|
|
|
|
import org.koitharu.kotatsu.parsers.MangaLoaderContext
|
|
|
|
import org.koitharu.kotatsu.parsers.MangaLoaderContext
|
|
|
|
import org.koitharu.kotatsu.parsers.MangaSourceParser
|
|
|
|
import org.koitharu.kotatsu.parsers.MangaSourceParser
|
|
|
|
import org.koitharu.kotatsu.parsers.config.ConfigKey
|
|
|
|
import org.koitharu.kotatsu.parsers.config.ConfigKey
|
|
|
|
@ -30,6 +31,7 @@ import java.util.EnumSet
|
|
|
|
import java.util.Locale
|
|
|
|
import java.util.Locale
|
|
|
|
import java.util.regex.Pattern
|
|
|
|
import java.util.regex.Pattern
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Broken("Need to rewrite getListPage")
|
|
|
|
@MangaSourceParser("MYREADINGMANGA", "MyReadingManga", type = ContentType.HENTAI)
|
|
|
|
@MangaSourceParser("MYREADINGMANGA", "MyReadingManga", type = ContentType.HENTAI)
|
|
|
|
internal class MyReadingManga(context: MangaLoaderContext) :
|
|
|
|
internal class MyReadingManga(context: MangaLoaderContext) :
|
|
|
|
PagedMangaParser(context, MangaParserSource.MYREADINGMANGA, 18) {
|
|
|
|
PagedMangaParser(context, MangaParserSource.MYREADINGMANGA, 18) {
|
|
|
|
@ -145,7 +147,7 @@ internal class MyReadingManga(context: MangaLoaderContext) :
|
|
|
|
append("https://")
|
|
|
|
append("https://")
|
|
|
|
append(domain)
|
|
|
|
append(domain)
|
|
|
|
|
|
|
|
|
|
|
|
// Add language path if specified
|
|
|
|
// Add language path if specified, need to fix
|
|
|
|
val langSlug = getLanguageSlug(filter.locale)
|
|
|
|
val langSlug = getLanguageSlug(filter.locale)
|
|
|
|
if (langSlug != null) {
|
|
|
|
if (langSlug != null) {
|
|
|
|
append("/lang/")
|
|
|
|
append("/lang/")
|
|
|
|
|