Add small sources, fix , rename sources , remove code not used, remove dead sources, typo.
This commit is contained in:
@@ -311,11 +311,11 @@ internal abstract class OtakuSanctuaryParser(
|
||||
}
|
||||
|
||||
"[IS1]" -> {
|
||||
val url = url.replace("[IS1]", "https://imagepi.otakuscan.net/")
|
||||
if (url.contains("vi") && url.contains("otakusan.net_")) {
|
||||
url
|
||||
val url1 = url.replace("[IS1]", "https://imagepi.otakuscan.net/")
|
||||
if (url1.contains("vi") && url1.contains("otakusan.net_")) {
|
||||
url1
|
||||
} else {
|
||||
url.toHttpUrl().newBuilder().apply {
|
||||
url1.toHttpUrl().newBuilder().apply {
|
||||
addQueryParameter("vi", vi)
|
||||
}.build().toString()
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ import kotlinx.coroutines.async
|
||||
import kotlinx.coroutines.coroutineScope
|
||||
import okhttp3.Headers
|
||||
import org.jsoup.nodes.Document
|
||||
import org.jsoup.nodes.Element
|
||||
import org.koitharu.kotatsu.parsers.MangaLoaderContext
|
||||
import org.koitharu.kotatsu.parsers.MangaParser
|
||||
import org.koitharu.kotatsu.parsers.MangaSourceParser
|
||||
|
||||
Reference in New Issue
Block a user