add linting to multisrc (#8740)
* add linting to multisrc * remove generated blocks * lint again * re-format the file * remove buildScript block * manaully format * remove groups
This commit is contained in:
parent
a9f7b363b1
commit
d0793a1741
|
@ -29,8 +29,8 @@ tasks {
|
|||
val isWindows = System.getProperty("os.name").toString().toLowerCase().contains("win")
|
||||
var classPath = (configurations.debugCompileOnly.get().asFileTree.toList() +
|
||||
listOf(
|
||||
configurations.androidApis.get().asFileTree.first().absolutePath, // android.jar path
|
||||
"$projectDir/build/intermediates/aar_main_jar/debug/classes.jar" // jar made from this module
|
||||
configurations.androidApis.get().asFileTree.first().absolutePath, // android.jar path
|
||||
"$projectDir/build/intermediates/aar_main_jar/debug/classes.jar" // jar made from this module
|
||||
))
|
||||
.joinToString(if (isWindows) ";" else ":")
|
||||
|
||||
|
@ -63,6 +63,14 @@ tasks {
|
|||
throw Exception("Java process failed with exit code: $exitCode")
|
||||
}
|
||||
}
|
||||
dependsOn("assembleDebug")
|
||||
dependsOn("ktFormat", "ktLint", "assembleDebug")
|
||||
}
|
||||
|
||||
register<org.jmailen.gradle.kotlinter.tasks.LintTask>("ktLint") {
|
||||
source(files("src", "overrides"))
|
||||
}
|
||||
|
||||
register<org.jmailen.gradle.kotlinter.tasks.FormatTask>("ktFormat") {
|
||||
source(files("src", "overrides"))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,21 +22,21 @@ class EpikManga : FMReader("Epik Manga", "https://www.epikmanga.com", "tr") {
|
|||
// search wasn't working on source's website
|
||||
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> {
|
||||
return client.newCall(searchMangaRequest(page, query, filters))
|
||||
.asObservableSuccess()
|
||||
.map { response ->
|
||||
searchMangaParse(response, query)
|
||||
}
|
||||
.asObservableSuccess()
|
||||
.map { response ->
|
||||
searchMangaParse(response, query)
|
||||
}
|
||||
}
|
||||
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request = GET("$baseUrl/seri-listesi?type=text", headers)
|
||||
private fun searchMangaParse(response: Response, query: String): MangasPage {
|
||||
val mangas = response.asJsoup().select("div.char.col-lg-4 a")
|
||||
.filter { it.text().contains(query, ignoreCase = true) }
|
||||
.map {
|
||||
SManga.create().apply {
|
||||
setUrlWithoutDomain(it.attr("href"))
|
||||
title = it.text()
|
||||
}
|
||||
.filter { it.text().contains(query, ignoreCase = true) }
|
||||
.map {
|
||||
SManga.create().apply {
|
||||
setUrlWithoutDomain(it.attr("href"))
|
||||
title = it.text()
|
||||
}
|
||||
}
|
||||
return MangasPage(mangas, false)
|
||||
}
|
||||
override fun mangaDetailsParse(document: Document): SManga {
|
||||
|
|
|
@ -6,4 +6,4 @@ import org.jsoup.nodes.Document
|
|||
|
||||
class KissLove : FMReader("KissLove", "https://kissaway.net", "ja") {
|
||||
override fun pageListParse(document: Document): List<Page> = base64PageListParse(document)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,6 @@ import eu.kanade.tachiyomi.source.model.SChapter
|
|||
import org.jsoup.nodes.Element
|
||||
import java.util.Calendar
|
||||
|
||||
|
||||
class KSGroupScans : FMReader("KSGroupScans", "https://ksgroupscans.com", "en") {
|
||||
override fun chapterFromElement(element: Element, mangaTitle: String): SChapter {
|
||||
return SChapter.create().apply {
|
||||
|
|
|
@ -30,8 +30,8 @@ class MangaTR : FMReader("Manga-TR", "https://manga-tr.com", "tr") {
|
|||
val mangas = mutableListOf<SManga>()
|
||||
|
||||
response.asJsoup().select("div.row a[data-toggle]")
|
||||
.filterNot { it.siblingElements().text().contains("Novel") }
|
||||
.map { mangas.add(searchMangaFromElement(it)) }
|
||||
.filterNot { it.siblingElements().text().contains("Novel") }
|
||||
.map { mangas.add(searchMangaFromElement(it)) }
|
||||
|
||||
return MangasPage(mangas, false)
|
||||
}
|
||||
|
@ -66,10 +66,10 @@ class MangaTR : FMReader("Manga-TR", "https://manga-tr.com", "tr") {
|
|||
override fun fetchChapterList(manga: SManga): Observable<List<SChapter>> {
|
||||
val requestUrl = "$baseUrl/cek/fetch_pages_manga.php?manga_cek=${manga.url.substringAfter("manga-").substringBefore(".")}"
|
||||
return client.newCall(GET(requestUrl, chapterListHeaders))
|
||||
.asObservableSuccess()
|
||||
.map { response ->
|
||||
chapterListParse(response, requestUrl)
|
||||
}
|
||||
.asObservableSuccess()
|
||||
.map { response ->
|
||||
chapterListParse(response, requestUrl)
|
||||
}
|
||||
}
|
||||
|
||||
private fun chapterListParse(response: Response, requestUrl: String): List<SChapter> {
|
||||
|
@ -83,8 +83,8 @@ class MangaTR : FMReader("Manga-TR", "https://manga-tr.com", "tr") {
|
|||
document.select(chapterListSelector()).map { chapters.add(chapterFromElement(it)) }
|
||||
if (document.select("a[data-page=$nextPage]").isNotEmpty()) {
|
||||
val body = FormBody.Builder()
|
||||
.add("page", nextPage.toString())
|
||||
.build()
|
||||
.add("page", nextPage.toString())
|
||||
.build()
|
||||
document = client.newCall(POST(requestUrl, chapterListHeaders, body)).execute().asJsoup()
|
||||
nextPage++
|
||||
} else {
|
||||
|
|
|
@ -10,18 +10,18 @@ import okhttp3.Request
|
|||
|
||||
class Manhwa18NetFactory : SourceFactory {
|
||||
override fun createSources(): List<Source> = listOf(
|
||||
Manhwa18Net(),
|
||||
Manhwa18NetRaw(),
|
||||
Manhwa18Net(),
|
||||
Manhwa18NetRaw(),
|
||||
)
|
||||
}
|
||||
|
||||
@Nsfw
|
||||
class Manhwa18Net : FMReader("Manhwa18.net", "https://manhwa18.net", "en") {
|
||||
override fun popularMangaRequest(page: Int): Request =
|
||||
GET("$baseUrl/$requestPath?listType=pagination&page=$page&sort=views&sort_type=DESC&ungenre=raw", headers)
|
||||
GET("$baseUrl/$requestPath?listType=pagination&page=$page&sort=views&sort_type=DESC&ungenre=raw", headers)
|
||||
|
||||
override fun latestUpdatesRequest(page: Int): Request =
|
||||
GET("$baseUrl/$requestPath?listType=pagination&page=$page&sort=last_update&sort_type=DESC&ungenre=raw", headers)
|
||||
GET("$baseUrl/$requestPath?listType=pagination&page=$page&sort=last_update&sort_type=DESC&ungenre=raw", headers)
|
||||
|
||||
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
|
||||
val noRawsUrl = super.searchMangaRequest(page, query, filters).url.newBuilder().addQueryParameter("ungenre", "raw").toString()
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
package eu.kanade.tachiyomi.extension.en.lynxscans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.genkan.Genkan
|
||||
import org.jsoup.nodes.Document
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import org.jsoup.nodes.Document
|
||||
|
||||
class LynxScans : Genkan("LynxScans", "https://lynxscans.com", "en") {
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
val pages = mutableListOf<Page>()
|
||||
|
||||
|
||||
val allImages = document.select("div#pages-container + script").first().data()
|
||||
.substringAfter("[").substringBefore("];")
|
||||
.replace(Regex("""["\\]"""), "")
|
||||
|
|
|
@ -4,5 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
||||
class AYATOON : Madara("AYATOON", "https://ayatoon.com", "tr", SimpleDateFormat("dd MMM yyyy", Locale("tr")))
|
||||
|
|
|
@ -5,7 +5,7 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
|
||||
@Nsfw
|
||||
class BoysLove : Madara("BoysLove", "https://boyslove.me", "en") {
|
||||
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
Genre("Action", "action"),
|
||||
Genre("Adult", "adult"),
|
||||
|
|
|
@ -9,6 +9,4 @@ class DragonTea : Madara(
|
|||
"https://dragontea.ink/",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MM/dd/yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -6,7 +6,7 @@ import okhttp3.Response
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class EGYManga : Madara( "EGY Manga", "https://egymanga.net", "ar", SimpleDateFormat("MMMM dd, yyyy", Locale("ar"))) {
|
||||
class EGYManga : Madara("EGY Manga", "https://egymanga.net", "ar", SimpleDateFormat("MMMM dd, yyyy", Locale("ar"))) {
|
||||
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()
|
||||
override val pageListParseSelector = "div.separator"
|
||||
}
|
||||
|
|
|
@ -9,6 +9,4 @@ class EternalScans : Madara(
|
|||
"https://eternalscans.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
package eu.kanade.tachiyomi.extension.en.fastmanhwa
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
@Nsfw
|
||||
class FastManhwa : Madara("FastManhwa", "https://fastmanhwa.net", "en", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.US)) {
|
||||
|
||||
}
|
||||
class FastManhwa : Madara("FastManhwa", "https://fastmanhwa.net", "en", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.US))
|
||||
|
|
|
@ -2,8 +2,6 @@ package eu.kanade.tachiyomi.extension.en.firstkissmanga
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.Headers
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class FirstKissManga : Madara("1st Kiss", "https://1stkissmanga.com", "en") {
|
||||
override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl)
|
||||
|
|
|
@ -3,7 +3,6 @@ package eu.kanade.tachiyomi.extension.en.fizmanga
|
|||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.Headers
|
||||
|
||||
|
||||
class FizManga : Madara("Fiz Manga", "https://fizmanga.com", "en") {
|
||||
override fun headersBuilder(): Headers.Builder = super.headersBuilder()
|
||||
.add("Referer", baseUrl)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.freemanga
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
@ -12,7 +12,7 @@ class FreeManga : Madara("Free Manga", "https://freemanga.me", "en") {
|
|||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
Genre("Action", "action"),
|
||||
Genre("Adult", "adult"),
|
||||
|
|
|
@ -5,5 +5,6 @@ import java.text.SimpleDateFormat
|
|||
import java.util.Locale
|
||||
|
||||
class FukushuunoYuusha : Madara(
|
||||
"Fukushuu no Yuusha", "https://fny-scantrad.com",
|
||||
"fr", dateFormat = SimpleDateFormat("dd/MM/yy", Locale.US))
|
||||
"Fukushuu no Yuusha", "https://fny-scantrad.com",
|
||||
"fr", dateFormat = SimpleDateFormat("dd/MM/yy", Locale.US)
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.hentai20
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
@ -12,7 +12,7 @@ class Hentai20 : Madara("Hentai20", "https://hentai20.com", "en") {
|
|||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
Genre("Action", "action"),
|
||||
Genre("Adult", "adult"),
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.hentaidexy
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
@ -12,7 +12,7 @@ class Hentaidexy : Madara("Hentaidexy", "https://hentaidexy.com", "en") {
|
|||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
Genre("Action", "action"),
|
||||
Genre("Adult", "adult"),
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.hentaimanga
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
@ -11,6 +11,4 @@ class HentaiManga : Madara(
|
|||
"https://hentaimanga.me",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
package eu.kanade.tachiyomi.extension.en.hentairead
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
@Nsfw
|
||||
class Hentairead : Madara("HentaiRead", "https://hentairead.com", "en", dateFormat = SimpleDateFormat("dd/MM/yyyy", Locale.US)) {
|
||||
|
||||
}
|
||||
class Hentairead : Madara("HentaiRead", "https://hentairead.com", "en", dateFormat = SimpleDateFormat("dd/MM/yyyy", Locale.US))
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.hentaiwebtoon
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class HentaiWebtoon : Madara("HentaiWebtoon", "https://hentaiwebtoon.com", "en")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.hentaixcomic
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
@ -11,6 +11,4 @@ class HentaiXComic : Madara(
|
|||
"https://hentaixcomic.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.hentaixyuri
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
@ -11,6 +11,4 @@ class HentaiXYuri : Madara(
|
|||
"https://hentaixyuri.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.hiperdex
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class Hiperdex : Madara("Hiperdex", "https://hiperdex.com", "en") {
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package eu.kanade.tachiyomi.extension.en.hm2d
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import okhttp3.Request
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import okhttp3.Request
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
@ -24,4 +24,3 @@ class HM2D : Madara(
|
|||
return GET(baseUrl + manga.url.removePrefix("/hdoujin/"), headers)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.hmanhwa
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
|
|
@ -8,4 +8,4 @@ class HunterFansub : Madara("Hunter Fansub", "https://hunterfansub.com", "es") {
|
|||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/biblioteca/page/$page?m_orderby=views", headers)
|
||||
override fun popularMangaNextPageSelector() = "div.nav-previous"
|
||||
override val popularMangaUrlSelector = "div.post-title a:last-child"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@ package eu.kanade.tachiyomi.extension.en.immortalupdates
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
|
||||
class ImmortalUpdates : Madara("Immortal Updates", "https://immortalupdates.com", "en") {
|
||||
override val useNewChapterEndpoint: Boolean = true
|
||||
}
|
||||
|
|
|
@ -4,5 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
||||
class InmortalScan : Madara("Inmortal Scan", "https://manga.mundodrama.site", "es", SimpleDateFormat("MMMM d, yyyy", Locale("es")))
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
package eu.kanade.tachiyomi.extension.en.jirocomics
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import okhttp3.Response
|
||||
|
||||
|
||||
@Nsfw
|
||||
class JiroComics : Madara("Jiro Comics", "https://jirocomics.com", "en") {
|
||||
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()
|
||||
|
|
|
@ -4,6 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class Kokomanga : Madara("Kokomanga", "https://kokomanga.com", "en", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.US)) {
|
||||
|
||||
}
|
||||
class Kokomanga : Madara("Kokomanga", "https://kokomanga.com", "en", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.US))
|
||||
|
|
|
@ -3,8 +3,6 @@ package eu.kanade.tachiyomi.extension.all.leviatanscans
|
|||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.Source
|
||||
import eu.kanade.tachiyomi.source.SourceFactory
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import okhttp3.Response
|
||||
|
||||
class LeviatanScansFactory : SourceFactory {
|
||||
override fun createSources(): List<Source> = listOf(
|
||||
|
|
|
@ -9,6 +9,4 @@ class LordManga : Madara(
|
|||
"https://lordmanga.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.madaradex
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
@ -11,6 +11,4 @@ class MadaraDex : Madara(
|
|||
"https://madaradex.org",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -4,6 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class Manga347 : Madara("Manga347", "https://manga347.com", "en", SimpleDateFormat("d MMM, yyyy", Locale.US)) {
|
||||
|
||||
}
|
||||
class Manga347 : Madara("Manga347", "https://manga347.com", "en", SimpleDateFormat("d MMM, yyyy", Locale.US))
|
||||
|
|
|
@ -6,6 +6,5 @@ import okhttp3.Response
|
|||
|
||||
class Manga47 : Madara("Manga47", "https://manga47.net", "en") {
|
||||
|
||||
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()
|
||||
|
||||
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()
|
||||
}
|
||||
|
|
|
@ -9,6 +9,4 @@ class Manga4All : Madara(
|
|||
"https://manga4all.net",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("d MMM yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -2,9 +2,9 @@ package eu.kanade.tachiyomi.extension.en.mangaclash
|
|||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class MangaClash : Madara(
|
||||
|
@ -17,7 +17,7 @@ class MangaClash : Madara(
|
|||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
Genre("4-koma", "4-koma"),
|
||||
Genre("Action", "action"),
|
||||
|
|
|
@ -5,7 +5,7 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
|
||||
@Nsfw
|
||||
class MangaCV : Madara("MangaCV", "https://mangacv.com", "en") {
|
||||
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
Genre("Action", "action"),
|
||||
Genre("Adult", "adult"),
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangadistrict
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
@ -11,6 +11,4 @@ class MangaDistrict : Madara(
|
|||
"https://mangadistrict.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -4,5 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
||||
class MangaDropOut : Madara("Manga Drop Out", "https://www.mangadropout.xyz", "id", SimpleDateFormat("dd/MM/yyyy", Locale("id")))
|
||||
|
|
|
@ -9,6 +9,4 @@ class Mangafastcom : Madara(
|
|||
"https://manga-fast.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("d MMMM'،' yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
package eu.kanade.tachiyomi.extension.all.mangaforfree
|
||||
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.Source
|
||||
import eu.kanade.tachiyomi.source.SourceFactory
|
||||
import java.util.concurrent.TimeUnit
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import okhttp3.OkHttpClient
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class MangaForFreeFactory : SourceFactory {
|
||||
override fun createSources(): List<Source> = listOf(
|
||||
|
|
|
@ -2,6 +2,4 @@ package eu.kanade.tachiyomi.extension.en.mangagreat
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
class MangaGreat : Madara("MangaGreat", "https://mangagreat.com", "en") {
|
||||
|
||||
}
|
||||
class MangaGreat : Madara("MangaGreat", "https://mangagreat.com", "en")
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangahentai
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class MangaHentai : Madara("Manga Hentai", "https://mangahentai.me", "en") {
|
||||
|
|
|
@ -6,6 +6,5 @@ import okhttp3.Response
|
|||
|
||||
class MangaHero : Madara("Manga Hero", "https://mangahero.xyz", "en") {
|
||||
|
||||
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()
|
||||
|
||||
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangahz
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangakio
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
@ -11,6 +11,4 @@ class MangaKio : Madara(
|
|||
"https://mangakio.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -3,17 +3,17 @@ package eu.kanade.tachiyomi.extension.en.mangakitsune
|
|||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import okhttp3.Response
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import okhttp3.Response
|
||||
|
||||
@Nsfw
|
||||
class MangaKitsune : Madara("MangaKitsune", "https://mangakitsune.com", "en", dateFormat = SimpleDateFormat("yyyy-MM-dd", Locale.US)) {
|
||||
|
||||
|
||||
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()
|
||||
|
||||
override val pageListParseSelector = ".reading-content div.text-left :has(>img)"
|
||||
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
Genre("Action", "action"),
|
||||
Genre("Adult", "adult"),
|
||||
|
|
|
@ -2,8 +2,6 @@ package eu.kanade.tachiyomi.extension.en.mangakomi
|
|||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
|
|
|
@ -9,6 +9,4 @@ class MangaMe : Madara(
|
|||
"https://mangame.org",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("dd.MM.yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangamitsu
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class MangaMitsu : Madara("Manga Mitsu", "https://mangamitsu.com", "en")
|
||||
|
|
|
@ -9,6 +9,4 @@ class Manganatoinfo : Madara(
|
|||
"https://manganato.info",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangapl
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
@ -12,7 +12,7 @@ class MangaPL : Madara("MangaPL", "https://mangapl.com", "en") {
|
|||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
Genre("Action", "action"),
|
||||
Genre("Adult", "adult"),
|
||||
|
|
|
@ -4,5 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
||||
class MangasOrigines : Madara("Mangas Origines", "https://mangas-origines.fr", "fr", SimpleDateFormat("dd MMM yyyy", Locale("fr")))
|
||||
|
|
|
@ -2,14 +2,9 @@ package eu.kanade.tachiyomi.extension.en.mangatk
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.source.model.FilterList
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import java.util.Locale
|
||||
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
|
||||
import okhttp3.Request
|
||||
import org.jsoup.nodes.Document
|
||||
import org.jsoup.nodes.Element
|
||||
|
||||
class MangaTK : Madara("MangaTK", "https://mangatk.com", "en") {
|
||||
|
||||
|
@ -24,7 +19,6 @@ class MangaTK : Madara("MangaTK", "https://mangatk.com", "en") {
|
|||
return GET("$baseUrl/manga/page/$page?orderby=latest")
|
||||
}
|
||||
|
||||
|
||||
override val pageListParseSelector = "div.read-content img"
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangatuli
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
@ -12,7 +12,7 @@ class MangaTuli : Madara("MangaTuli", "https://mangatuli.com", "en") {
|
|||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
Genre("4-koma", "4-koma"),
|
||||
Genre("Action", "action"),
|
||||
|
|
|
@ -2,8 +2,6 @@ package eu.kanade.tachiyomi.extension.en.mangaus
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
|
||||
class MangaUS : Madara("MangaUS", "https://mangaus.xyz", "en") {
|
||||
override val pageListParseSelector = "img"
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,5 @@ package eu.kanade.tachiyomi.extension.en.mangaweebs
|
|||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import org.jsoup.nodes.Document
|
||||
|
||||
class MangaWeebs : Madara("Manga Weebs", "https://mangaweebs.in", "en", dateFormat = SimpleDateFormat("dd MMMM HH:mm", Locale.US))
|
||||
|
|
|
@ -9,6 +9,4 @@ class ManhuaDex : Madara(
|
|||
"https://manhuadex.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("dd MMMM yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -2,6 +2,4 @@ package eu.kanade.tachiyomi.extension.en.manhuafast
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
class ManhuaFast : Madara("ManhuaFast", "https://manhuafast.com", "en") {
|
||||
|
||||
}
|
||||
class ManhuaFast : Madara("ManhuaFast", "https://manhuafast.com", "en")
|
||||
|
|
|
@ -2,8 +2,6 @@ package eu.kanade.tachiyomi.extension.en.manhuapro
|
|||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
|
|
|
@ -2,6 +2,4 @@ package eu.kanade.tachiyomi.extension.en.manhuaus
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
class ManhuaUS : Madara("ManhuaUS", "https://manhuaus.com", "en") {
|
||||
|
||||
}
|
||||
class ManhuaUS : Madara("ManhuaUS", "https://manhuaus.com", "en")
|
||||
|
|
|
@ -9,6 +9,4 @@ class ManhuaZone : Madara(
|
|||
"https://manhuazone.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
package eu.kanade.tachiyomi.extension.en.manhwa18app
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
@Nsfw
|
||||
class Manhwa18app : Madara("Manhwa18.app", "https://manhwa18.app", "en", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.US)) {
|
||||
|
||||
}
|
||||
class Manhwa18app : Madara("Manhwa18.app", "https://manhwa18.app", "en", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.US))
|
||||
|
|
|
@ -4,13 +4,9 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.source.Source
|
||||
import eu.kanade.tachiyomi.source.SourceFactory
|
||||
import eu.kanade.tachiyomi.source.model.FilterList
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
|
||||
import okhttp3.Request
|
||||
import org.jsoup.nodes.Document
|
||||
import org.jsoup.nodes.Element
|
||||
|
||||
class Manhwa18CcFactory : SourceFactory {
|
||||
override fun createSources(): List<Source> = listOf(
|
||||
|
@ -37,7 +33,6 @@ abstract class Manhwa18Cc(
|
|||
override fun popularMangaSelector() = "div.manga-item"
|
||||
override val popularMangaUrlSelector = "div.data > h3 > a"
|
||||
|
||||
|
||||
override fun popularMangaRequest(page: Int): Request {
|
||||
return GET("$baseUrl/webtoons/$page?orderby=trending")
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.manhwa365
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
|
|
@ -11,6 +11,4 @@ class Manhwa68 : Madara(
|
|||
"https://manhwa68.com",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.manhwabiz
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import okhttp3.Request
|
||||
import java.text.SimpleDateFormat
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
package eu.kanade.tachiyomi.extension.en.manhwuafans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
@Nsfw
|
||||
class Manhwuafans : Madara("Manhwua.fans", "https://manhwua.fans", "en", dateFormat = SimpleDateFormat("yyyy'年'M'月'd", Locale.US)) {
|
||||
|
||||
}
|
||||
class Manhwuafans : Madara("Manhwua.fans", "https://manhwua.fans", "en", dateFormat = SimpleDateFormat("yyyy'年'M'月'd", Locale.US))
|
||||
|
|
|
@ -62,5 +62,4 @@ class ManyToon : Madara("ManyToon", "https://manytoon.com", "en") {
|
|||
Genre("Yaoi", "yaoi"),
|
||||
Genre("Yuri", "yuri"),
|
||||
)
|
||||
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
|
||||
@Nsfw
|
||||
class ManyToonMe : Madara("ManyToon.me", "https://manytoon.me", "en") {
|
||||
|
||||
|
||||
override val useNewChapterEndpoint: Boolean = true
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
|
@ -57,5 +57,4 @@ class ManyToonMe : Madara("ManyToon.me", "https://manytoon.me", "en") {
|
|||
Genre("Yaoi", "yaoi"),
|
||||
Genre("Yuri", "yuri"),
|
||||
)
|
||||
|
||||
}
|
||||
|
|
|
@ -1,36 +1,10 @@
|
|||
package eu.kanade.tachiyomi.extension.en.midnightmessscans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.network.POST
|
||||
import eu.kanade.tachiyomi.network.asObservable
|
||||
import eu.kanade.tachiyomi.source.model.Filter
|
||||
import eu.kanade.tachiyomi.source.model.FilterList
|
||||
import eu.kanade.tachiyomi.source.model.MangasPage
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import eu.kanade.tachiyomi.source.online.ParsedHttpSource
|
||||
import eu.kanade.tachiyomi.util.asJsoup
|
||||
import okhttp3.CacheControl
|
||||
import okhttp3.FormBody
|
||||
import okhttp3.Headers
|
||||
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.Request
|
||||
import okhttp3.RequestBody.Companion.toRequestBody
|
||||
import okhttp3.Response
|
||||
import org.jsoup.nodes.Document
|
||||
import org.jsoup.nodes.Element
|
||||
import rx.Observable
|
||||
import java.text.ParseException
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Calendar
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
import kotlin.math.absoluteValue
|
||||
import kotlin.random.Random
|
||||
|
||||
@Nsfw
|
||||
class MidnightMessScans : Madara("Midnight Mess Scans", "https://midnightmess.org", "en") {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.milftoon
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import okhttp3.Request
|
||||
|
||||
|
|
|
@ -4,6 +4,4 @@ import eu.kanade.tachiyomi.annotations.Nsfw
|
|||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class OhNoManga : Madara("Oh No Manga", "https://ohnomanga.com", "en") {
|
||||
|
||||
}
|
||||
class OhNoManga : Madara("Oh No Manga", "https://ohnomanga.com", "en")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.pornwha
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class Pornwha : Madara("Pornwha", "https://pornwha.com", "en")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.ja.rawmangas
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.readadult
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class ReadAdult : Madara("Read Adult", "https://readadult.net", "en")
|
||||
|
|
|
@ -2,7 +2,6 @@ package eu.kanade.tachiyomi.extension.en.scansraw
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
|
||||
class ScansRaw : Madara("Scans Raw", "https://scansraw.com", "en") {
|
||||
override val useNewChapterEndpoint: Boolean = true
|
||||
}
|
||||
|
|
|
@ -3,4 +3,4 @@ package eu.kanade.tachiyomi.extension.en.seafoamscans
|
|||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
|
||||
class SeafoamScans : Madara("Seafoam Scans", "https://seafoamscans.com", "en", SimpleDateFormat("dd/MM/yyyy"))
|
||||
class SeafoamScans : Madara("Seafoam Scans", "https://seafoamscans.com", "en", SimpleDateFormat("dd/MM/yyyy"))
|
||||
|
|
|
@ -4,5 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
||||
class ShinobiScans : Madara("ShinobiScans", "https://shinobiscans.com", "it", SimpleDateFormat("MMMM d, yyyy", Locale("it")))
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.tr.siyahmelek
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.skymanga
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class Skymanga : Madara("Skymanga", "https://skymanga.co", "en")
|
||||
|
|
|
@ -2,4 +2,4 @@ package eu.kanade.tachiyomi.extension.en.sugarbabies
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
class SugarBabies : Madara("Sugar Babies", "https://sugarbscan.com", "en")
|
||||
class SugarBabies : Madara("Sugar Babies", "https://sugarbscan.com", "en")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.sunshinebutterflyscans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class SunshineButterflyScans : Madara("Sunshine Butterfly Scans", "https://sunshinebutterflyscan.com", "en")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.toonily
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class Toonily : Madara("Toonily", "https://toonily.com", "en") {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.toonilynet
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class Toonilynet : Madara("Toonily.net", "https://toonily.net", "en")
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
package eu.kanade.tachiyomi.extension.en.toonmany
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
@Nsfw
|
||||
class ToonMany : Madara("ToonMany", "https://toonmany.com", "en", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.US)) {
|
||||
|
||||
}
|
||||
class ToonMany : Madara("ToonMany", "https://toonmany.com", "en", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.US))
|
||||
|
|
|
@ -2,23 +2,9 @@ package eu.kanade.tachiyomi.extension.tr.turkcemanga
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.network.POST
|
||||
import eu.kanade.tachiyomi.source.Source
|
||||
import eu.kanade.tachiyomi.source.SourceFactory
|
||||
import eu.kanade.tachiyomi.source.model.FilterList
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import okhttp3.CacheControl
|
||||
import okhttp3.Headers
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.Request
|
||||
import okhttp3.Response
|
||||
import org.jsoup.nodes.Document
|
||||
import org.jsoup.nodes.Element
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class TurkceManga : Madara("Türkçe Manga", "https://turkcemanga.com", "tr") {
|
||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/page/$page/?s&post_type=wp-manga&m_orderby=views", headers)
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
package eu.kanade.tachiyomi.extension.en.twentyfourhmanga
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
@Nsfw
|
||||
class TwentyFourhManga : Madara("24hManga", "https://24hmanga.com", "en", dateFormat = SimpleDateFormat("dd/MM/yyyy", Locale.US)) {
|
||||
|
||||
}
|
||||
class TwentyFourhManga : Madara("24hManga", "https://24hmanga.com", "en", dateFormat = SimpleDateFormat("dd/MM/yyyy", Locale.US))
|
||||
|
|
|
@ -5,4 +5,3 @@ import java.text.SimpleDateFormat
|
|||
import java.util.Locale
|
||||
|
||||
class UyuyanBalik : Madara("Uyuyan Balik", "https://uyuyanbalik.com/", "tr", SimpleDateFormat("dd MMMM yyyy", Locale.US))
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.webtoon18
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.webtoon69
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class WebToon69 : Madara("WebToon69", "https://webtoon69.com", "en")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.webtoonstop
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
@ -11,6 +11,4 @@ class WebtoonsTOP : Madara(
|
|||
"https://webtoons.top",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
|
||||
) {
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.xmanga
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class XManga : Madara("XManga", "https://xmanga.io", "en")
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
package eu.kanade.tachiyomi.extension.en.yaoihentai
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
@Nsfw
|
||||
class YaoiHentai : Madara("Yaoi Hentai", "https://yaoihentai.me", "en", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.US)) {
|
||||
|
||||
}
|
||||
class YaoiHentai : Madara("Yaoi Hentai", "https://yaoihentai.me", "en", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.US))
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.yaoimanga
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
@ -12,7 +12,7 @@ class YaoiManga : Madara("Yaoi.mobi", "https://yaoi.mobi", "en") {
|
|||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
|
||||
override fun getGenreList() = listOf(
|
||||
Genre("Action", "action"),
|
||||
Genre("Adult", "adult"),
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
package eu.kanade.tachiyomi.extension.en.yaoiscan
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class YaoiScan : Madara("YaoiScan", "https://yaoiscan.com", "en")
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
package eu.kanade.tachiyomi.extension.en.yaoitoon
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
@Nsfw
|
||||
class YaoiToon : Madara("YaoiToon", "https://yaoitoon.com", "en", dateFormat = SimpleDateFormat("d MMMM, yyyy", Locale.US)) {
|
||||
|
||||
}
|
||||
class YaoiToon : Madara("YaoiToon", "https://yaoitoon.com", "en", dateFormat = SimpleDateFormat("d MMMM, yyyy", Locale.US))
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue