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:
Aria Moradi 2021-08-22 19:59:08 +04:30 committed by GitHub
parent a9f7b363b1
commit d0793a1741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
200 changed files with 399 additions and 658 deletions

View File

@ -63,6 +63,14 @@ tasks {
throw Exception("Java process failed with exit code: $exitCode") 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"))
} }
} }

View File

@ -5,7 +5,6 @@ import eu.kanade.tachiyomi.source.model.SChapter
import org.jsoup.nodes.Element import org.jsoup.nodes.Element
import java.util.Calendar import java.util.Calendar
class KSGroupScans : FMReader("KSGroupScans", "https://ksgroupscans.com", "en") { class KSGroupScans : FMReader("KSGroupScans", "https://ksgroupscans.com", "en") {
override fun chapterFromElement(element: Element, mangaTitle: String): SChapter { override fun chapterFromElement(element: Element, mangaTitle: String): SChapter {
return SChapter.create().apply { return SChapter.create().apply {

View File

@ -1,14 +1,13 @@
package eu.kanade.tachiyomi.extension.en.lynxscans package eu.kanade.tachiyomi.extension.en.lynxscans
import eu.kanade.tachiyomi.multisrc.genkan.Genkan import eu.kanade.tachiyomi.multisrc.genkan.Genkan
import org.jsoup.nodes.Document
import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.source.model.Page
import org.jsoup.nodes.Document
class LynxScans : Genkan("LynxScans", "https://lynxscans.com", "en") { class LynxScans : Genkan("LynxScans", "https://lynxscans.com", "en") {
override fun pageListParse(document: Document): List<Page> { override fun pageListParse(document: Document): List<Page> {
val pages = mutableListOf<Page>() val pages = mutableListOf<Page>()
val allImages = document.select("div#pages-container + script").first().data() val allImages = document.select("div#pages-container + script").first().data()
.substringAfter("[").substringBefore("];") .substringAfter("[").substringBefore("];")
.replace(Regex("""["\\]"""), "") .replace(Regex("""["\\]"""), "")

View File

@ -4,5 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class AYATOON : Madara("AYATOON", "https://ayatoon.com", "tr", SimpleDateFormat("dd MMM yyyy", Locale("tr"))) class AYATOON : Madara("AYATOON", "https://ayatoon.com", "tr", SimpleDateFormat("dd MMM yyyy", Locale("tr")))

View File

@ -9,6 +9,4 @@ class DragonTea : Madara(
"https://dragontea.ink/", "https://dragontea.ink/",
"en", "en",
dateFormat = SimpleDateFormat("MM/dd/yyyy", Locale.US) dateFormat = SimpleDateFormat("MM/dd/yyyy", Locale.US)
) { )
}

View File

@ -6,7 +6,7 @@ import okhttp3.Response
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale 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 fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()
override val pageListParseSelector = "div.separator" override val pageListParseSelector = "div.separator"
} }

View File

@ -9,6 +9,4 @@ class EternalScans : Madara(
"https://eternalscans.com", "https://eternalscans.com",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -1,11 +1,9 @@
package eu.kanade.tachiyomi.extension.en.fastmanhwa package eu.kanade.tachiyomi.extension.en.fastmanhwa
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@Nsfw @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))
}

View File

@ -2,8 +2,6 @@ package eu.kanade.tachiyomi.extension.en.firstkissmanga
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.Headers import okhttp3.Headers
import java.text.SimpleDateFormat
import java.util.Locale
class FirstKissManga : Madara("1st Kiss", "https://1stkissmanga.com", "en") { class FirstKissManga : Madara("1st Kiss", "https://1stkissmanga.com", "en") {
override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl) override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl)

View File

@ -3,7 +3,6 @@ package eu.kanade.tachiyomi.extension.en.fizmanga
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.Headers import okhttp3.Headers
class FizManga : Madara("Fiz Manga", "https://fizmanga.com", "en") { class FizManga : Madara("Fiz Manga", "https://fizmanga.com", "en") {
override fun headersBuilder(): Headers.Builder = super.headersBuilder() override fun headersBuilder(): Headers.Builder = super.headersBuilder()
.add("Referer", baseUrl) .add("Referer", baseUrl)

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.freemanga package eu.kanade.tachiyomi.extension.en.freemanga
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit

View File

@ -6,4 +6,5 @@ import java.util.Locale
class FukushuunoYuusha : Madara( class FukushuunoYuusha : Madara(
"Fukushuu no Yuusha", "https://fny-scantrad.com", "Fukushuu no Yuusha", "https://fny-scantrad.com",
"fr", dateFormat = SimpleDateFormat("dd/MM/yy", Locale.US)) "fr", dateFormat = SimpleDateFormat("dd/MM/yy", Locale.US)
)

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.hentai20 package eu.kanade.tachiyomi.extension.en.hentai20
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.hentaidexy package eu.kanade.tachiyomi.extension.en.hentaidexy
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.hentaimanga package eu.kanade.tachiyomi.extension.en.hentaimanga
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@ -11,6 +11,4 @@ class HentaiManga : Madara(
"https://hentaimanga.me", "https://hentaimanga.me",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -1,11 +1,9 @@
package eu.kanade.tachiyomi.extension.en.hentairead package eu.kanade.tachiyomi.extension.en.hentairead
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@Nsfw @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))
}

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.hentaiwebtoon package eu.kanade.tachiyomi.extension.en.hentaiwebtoon
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class HentaiWebtoon : Madara("HentaiWebtoon", "https://hentaiwebtoon.com", "en") class HentaiWebtoon : Madara("HentaiWebtoon", "https://hentaiwebtoon.com", "en")

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.hentaixcomic package eu.kanade.tachiyomi.extension.en.hentaixcomic
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@ -11,6 +11,4 @@ class HentaiXComic : Madara(
"https://hentaixcomic.com", "https://hentaixcomic.com",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.hentaixyuri package eu.kanade.tachiyomi.extension.en.hentaixyuri
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@ -11,6 +11,4 @@ class HentaiXYuri : Madara(
"https://hentaixyuri.com", "https://hentaixyuri.com",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.hiperdex package eu.kanade.tachiyomi.extension.en.hiperdex
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class Hiperdex : Madara("Hiperdex", "https://hiperdex.com", "en") { class Hiperdex : Madara("Hiperdex", "https://hiperdex.com", "en") {

View File

@ -1,10 +1,10 @@
package eu.kanade.tachiyomi.extension.en.hm2d package eu.kanade.tachiyomi.extension.en.hm2d
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.GET
import okhttp3.Request
import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.model.SManga
import okhttp3.Request
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@ -24,4 +24,3 @@ class HM2D : Madara(
return GET(baseUrl + manga.url.removePrefix("/hdoujin/"), headers) return GET(baseUrl + manga.url.removePrefix("/hdoujin/"), headers)
} }
} }

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.hmanhwa package eu.kanade.tachiyomi.extension.en.hmanhwa
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale

View File

@ -2,7 +2,6 @@ package eu.kanade.tachiyomi.extension.en.immortalupdates
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
class ImmortalUpdates : Madara("Immortal Updates", "https://immortalupdates.com", "en") { class ImmortalUpdates : Madara("Immortal Updates", "https://immortalupdates.com", "en") {
override val useNewChapterEndpoint: Boolean = true override val useNewChapterEndpoint: Boolean = true
} }

View File

@ -4,5 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class InmortalScan : Madara("Inmortal Scan", "https://manga.mundodrama.site", "es", SimpleDateFormat("MMMM d, yyyy", Locale("es"))) class InmortalScan : Madara("Inmortal Scan", "https://manga.mundodrama.site", "es", SimpleDateFormat("MMMM d, yyyy", Locale("es")))

View File

@ -1,11 +1,10 @@
package eu.kanade.tachiyomi.extension.en.jirocomics package eu.kanade.tachiyomi.extension.en.jirocomics
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SChapter
import okhttp3.Response import okhttp3.Response
@Nsfw @Nsfw
class JiroComics : Madara("Jiro Comics", "https://jirocomics.com", "en") { class JiroComics : Madara("Jiro Comics", "https://jirocomics.com", "en") {
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed() override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()

View File

@ -4,6 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale 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))
}

View File

@ -3,8 +3,6 @@ package eu.kanade.tachiyomi.extension.all.leviatanscans
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.Source import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory import eu.kanade.tachiyomi.source.SourceFactory
import eu.kanade.tachiyomi.source.model.SChapter
import okhttp3.Response
class LeviatanScansFactory : SourceFactory { class LeviatanScansFactory : SourceFactory {
override fun createSources(): List<Source> = listOf( override fun createSources(): List<Source> = listOf(

View File

@ -9,6 +9,4 @@ class LordManga : Madara(
"https://lordmanga.com", "https://lordmanga.com",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.madaradex package eu.kanade.tachiyomi.extension.en.madaradex
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@ -11,6 +11,4 @@ class MadaraDex : Madara(
"https://madaradex.org", "https://madaradex.org",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -4,6 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale 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))
}

View File

@ -7,5 +7,4 @@ import okhttp3.Response
class Manga47 : Madara("Manga47", "https://manga47.net", "en") { 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()
} }

View File

@ -9,6 +9,4 @@ class Manga4All : Madara(
"https://manga4all.net", "https://manga4all.net",
"en", "en",
dateFormat = SimpleDateFormat("d MMM yyyy", Locale.US) dateFormat = SimpleDateFormat("d MMM yyyy", Locale.US)
) { )
}

View File

@ -2,9 +2,9 @@ package eu.kanade.tachiyomi.extension.en.mangaclash
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit
class MangaClash : Madara( class MangaClash : Madara(

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.mangadistrict package eu.kanade.tachiyomi.extension.en.mangadistrict
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@ -11,6 +11,4 @@ class MangaDistrict : Madara(
"https://mangadistrict.com", "https://mangadistrict.com",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -4,5 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class MangaDropOut : Madara("Manga Drop Out", "https://www.mangadropout.xyz", "id", SimpleDateFormat("dd/MM/yyyy", Locale("id"))) class MangaDropOut : Madara("Manga Drop Out", "https://www.mangadropout.xyz", "id", SimpleDateFormat("dd/MM/yyyy", Locale("id")))

View File

@ -9,6 +9,4 @@ class Mangafastcom : Madara(
"https://manga-fast.com", "https://manga-fast.com",
"en", "en",
dateFormat = SimpleDateFormat("d MMMM'،' yyyy", Locale.US) dateFormat = SimpleDateFormat("d MMMM'،' yyyy", Locale.US)
) { )
}

View File

@ -1,12 +1,12 @@
package eu.kanade.tachiyomi.extension.all.mangaforfree 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.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.Source import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory import eu.kanade.tachiyomi.source.SourceFactory
import java.util.concurrent.TimeUnit
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import eu.kanade.tachiyomi.annotations.Nsfw import java.util.concurrent.TimeUnit
class MangaForFreeFactory : SourceFactory { class MangaForFreeFactory : SourceFactory {
override fun createSources(): List<Source> = listOf( override fun createSources(): List<Source> = listOf(

View File

@ -2,6 +2,4 @@ package eu.kanade.tachiyomi.extension.en.mangagreat
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
class MangaGreat : Madara("MangaGreat", "https://mangagreat.com", "en") { class MangaGreat : Madara("MangaGreat", "https://mangagreat.com", "en")
}

View File

@ -1,8 +1,7 @@
package eu.kanade.tachiyomi.extension.en.mangahentai package eu.kanade.tachiyomi.extension.en.mangahentai
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class MangaHentai : Madara("Manga Hentai", "https://mangahentai.me", "en") { class MangaHentai : Madara("Manga Hentai", "https://mangahentai.me", "en") {

View File

@ -7,5 +7,4 @@ import okhttp3.Response
class MangaHero : Madara("Manga Hero", "https://mangahero.xyz", "en") { 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()
} }

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.mangahz package eu.kanade.tachiyomi.extension.en.mangahz
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.mangakio package eu.kanade.tachiyomi.extension.en.mangakio
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@ -11,6 +11,4 @@ class MangaKio : Madara(
"https://mangakio.com", "https://mangakio.com",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -3,9 +3,9 @@ package eu.kanade.tachiyomi.extension.en.mangakitsune
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SChapter
import okhttp3.Response
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
import okhttp3.Response
@Nsfw @Nsfw
class MangaKitsune : Madara("MangaKitsune", "https://mangakitsune.com", "en", dateFormat = SimpleDateFormat("yyyy-MM-dd", Locale.US)) { class MangaKitsune : Madara("MangaKitsune", "https://mangakitsune.com", "en", dateFormat = SimpleDateFormat("yyyy-MM-dd", Locale.US)) {

View File

@ -2,8 +2,6 @@ package eu.kanade.tachiyomi.extension.en.mangakomi
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit

View File

@ -9,6 +9,4 @@ class MangaMe : Madara(
"https://mangame.org", "https://mangame.org",
"en", "en",
dateFormat = SimpleDateFormat("dd.MM.yyyy", Locale.US) dateFormat = SimpleDateFormat("dd.MM.yyyy", Locale.US)
) { )
}

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.mangamitsu package eu.kanade.tachiyomi.extension.en.mangamitsu
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class MangaMitsu : Madara("Manga Mitsu", "https://mangamitsu.com", "en") class MangaMitsu : Madara("Manga Mitsu", "https://mangamitsu.com", "en")

View File

@ -9,6 +9,4 @@ class Manganatoinfo : Madara(
"https://manganato.info", "https://manganato.info",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.mangapl package eu.kanade.tachiyomi.extension.en.mangapl
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit

View File

@ -4,5 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class MangasOrigines : Madara("Mangas Origines", "https://mangas-origines.fr", "fr", SimpleDateFormat("dd MMM yyyy", Locale("fr"))) class MangasOrigines : Madara("Mangas Origines", "https://mangas-origines.fr", "fr", SimpleDateFormat("dd MMM yyyy", Locale("fr")))

View File

@ -2,14 +2,9 @@ package eu.kanade.tachiyomi.extension.en.mangatk
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET 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.Page
import eu.kanade.tachiyomi.source.model.SManga
import java.util.Locale
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
import okhttp3.Request import okhttp3.Request
import org.jsoup.nodes.Document import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
class MangaTK : Madara("MangaTK", "https://mangatk.com", "en") { 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") return GET("$baseUrl/manga/page/$page?orderby=latest")
} }
override val pageListParseSelector = "div.read-content img" override val pageListParseSelector = "div.read-content img"
override fun pageListParse(document: Document): List<Page> { override fun pageListParse(document: Document): List<Page> {

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.mangatuli package eu.kanade.tachiyomi.extension.en.mangatuli
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit

View File

@ -2,8 +2,6 @@ package eu.kanade.tachiyomi.extension.en.mangaus
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
class MangaUS : Madara("MangaUS", "https://mangaus.xyz", "en") { class MangaUS : Madara("MangaUS", "https://mangaus.xyz", "en") {
override val pageListParseSelector = "img" override val pageListParseSelector = "img"
} }

View File

@ -3,7 +3,5 @@ package eu.kanade.tachiyomi.extension.en.mangaweebs
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale 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)) class MangaWeebs : Madara("Manga Weebs", "https://mangaweebs.in", "en", dateFormat = SimpleDateFormat("dd MMMM HH:mm", Locale.US))

View File

@ -9,6 +9,4 @@ class ManhuaDex : Madara(
"https://manhuadex.com", "https://manhuadex.com",
"en", "en",
dateFormat = SimpleDateFormat("dd MMMM yyyy", Locale.US) dateFormat = SimpleDateFormat("dd MMMM yyyy", Locale.US)
) { )
}

View File

@ -2,6 +2,4 @@ package eu.kanade.tachiyomi.extension.en.manhuafast
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
class ManhuaFast : Madara("ManhuaFast", "https://manhuafast.com", "en") { class ManhuaFast : Madara("ManhuaFast", "https://manhuafast.com", "en")
}

View File

@ -2,8 +2,6 @@ package eu.kanade.tachiyomi.extension.en.manhuapro
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit

View File

@ -2,6 +2,4 @@ package eu.kanade.tachiyomi.extension.en.manhuaus
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
class ManhuaUS : Madara("ManhuaUS", "https://manhuaus.com", "en") { class ManhuaUS : Madara("ManhuaUS", "https://manhuaus.com", "en")
}

View File

@ -9,6 +9,4 @@ class ManhuaZone : Madara(
"https://manhuazone.com", "https://manhuazone.com",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -1,11 +1,9 @@
package eu.kanade.tachiyomi.extension.en.manhwa18app package eu.kanade.tachiyomi.extension.en.manhwa18app
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@Nsfw @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))
}

View File

@ -4,13 +4,9 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.Source import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory 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.Page
import eu.kanade.tachiyomi.source.model.SManga
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
import okhttp3.Request import okhttp3.Request
import org.jsoup.nodes.Document import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
class Manhwa18CcFactory : SourceFactory { class Manhwa18CcFactory : SourceFactory {
override fun createSources(): List<Source> = listOf( override fun createSources(): List<Source> = listOf(
@ -37,7 +33,6 @@ abstract class Manhwa18Cc(
override fun popularMangaSelector() = "div.manga-item" override fun popularMangaSelector() = "div.manga-item"
override val popularMangaUrlSelector = "div.data > h3 > a" override val popularMangaUrlSelector = "div.data > h3 > a"
override fun popularMangaRequest(page: Int): Request { override fun popularMangaRequest(page: Int): Request {
return GET("$baseUrl/webtoons/$page?orderby=trending") return GET("$baseUrl/webtoons/$page?orderby=trending")
} }

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.manhwa365 package eu.kanade.tachiyomi.extension.en.manhwa365
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale

View File

@ -11,6 +11,4 @@ class Manhwa68 : Madara(
"https://manhwa68.com", "https://manhwa68.com",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.manhwabiz package eu.kanade.tachiyomi.extension.en.manhwabiz
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.GET
import okhttp3.Request import okhttp3.Request
import java.text.SimpleDateFormat import java.text.SimpleDateFormat

View File

@ -1,11 +1,9 @@
package eu.kanade.tachiyomi.extension.en.manhwuafans package eu.kanade.tachiyomi.extension.en.manhwuafans
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@Nsfw @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))
}

View File

@ -62,5 +62,4 @@ class ManyToon : Madara("ManyToon", "https://manytoon.com", "en") {
Genre("Yaoi", "yaoi"), Genre("Yaoi", "yaoi"),
Genre("Yuri", "yuri"), Genre("Yuri", "yuri"),
) )
} }

View File

@ -57,5 +57,4 @@ class ManyToonMe : Madara("ManyToon.me", "https://manytoon.me", "en") {
Genre("Yaoi", "yaoi"), Genre("Yaoi", "yaoi"),
Genre("Yuri", "yuri"), Genre("Yuri", "yuri"),
) )
} }

View File

@ -1,36 +1,10 @@
package eu.kanade.tachiyomi.extension.en.midnightmessscans package eu.kanade.tachiyomi.extension.en.midnightmessscans
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.multisrc.madara.Madara
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.source.model.SManga 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.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.Locale
import java.util.concurrent.TimeUnit
import kotlin.math.absoluteValue
import kotlin.random.Random
@Nsfw @Nsfw
class MidnightMessScans : Madara("Midnight Mess Scans", "https://midnightmess.org", "en") { class MidnightMessScans : Madara("Midnight Mess Scans", "https://midnightmess.org", "en") {

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.milftoon package eu.kanade.tachiyomi.extension.en.milftoon
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.GET
import okhttp3.Request import okhttp3.Request

View File

@ -4,6 +4,4 @@ import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class OhNoManga : Madara("Oh No Manga", "https://ohnomanga.com", "en") { class OhNoManga : Madara("Oh No Manga", "https://ohnomanga.com", "en")
}

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.pornwha package eu.kanade.tachiyomi.extension.en.pornwha
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class Pornwha : Madara("Pornwha", "https://pornwha.com", "en") class Pornwha : Madara("Pornwha", "https://pornwha.com", "en")

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.ja.rawmangas package eu.kanade.tachiyomi.extension.ja.rawmangas
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.readadult package eu.kanade.tachiyomi.extension.en.readadult
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class ReadAdult : Madara("Read Adult", "https://readadult.net", "en") class ReadAdult : Madara("Read Adult", "https://readadult.net", "en")

View File

@ -2,7 +2,6 @@ package eu.kanade.tachiyomi.extension.en.scansraw
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
class ScansRaw : Madara("Scans Raw", "https://scansraw.com", "en") { class ScansRaw : Madara("Scans Raw", "https://scansraw.com", "en") {
override val useNewChapterEndpoint: Boolean = true override val useNewChapterEndpoint: Boolean = true
} }

View File

@ -4,5 +4,4 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class ShinobiScans : Madara("ShinobiScans", "https://shinobiscans.com", "it", SimpleDateFormat("MMMM d, yyyy", Locale("it"))) class ShinobiScans : Madara("ShinobiScans", "https://shinobiscans.com", "it", SimpleDateFormat("MMMM d, yyyy", Locale("it")))

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.tr.siyahmelek package eu.kanade.tachiyomi.extension.tr.siyahmelek
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.skymanga package eu.kanade.tachiyomi.extension.en.skymanga
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class Skymanga : Madara("Skymanga", "https://skymanga.co", "en") class Skymanga : Madara("Skymanga", "https://skymanga.co", "en")

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.sunshinebutterflyscans package eu.kanade.tachiyomi.extension.en.sunshinebutterflyscans
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class SunshineButterflyScans : Madara("Sunshine Butterfly Scans", "https://sunshinebutterflyscan.com", "en") class SunshineButterflyScans : Madara("Sunshine Butterfly Scans", "https://sunshinebutterflyscan.com", "en")

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.toonily package eu.kanade.tachiyomi.extension.en.toonily
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class Toonily : Madara("Toonily", "https://toonily.com", "en") { class Toonily : Madara("Toonily", "https://toonily.com", "en") {

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.toonilynet package eu.kanade.tachiyomi.extension.en.toonilynet
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class Toonilynet : Madara("Toonily.net", "https://toonily.net", "en") class Toonilynet : Madara("Toonily.net", "https://toonily.net", "en")

View File

@ -1,11 +1,9 @@
package eu.kanade.tachiyomi.extension.en.toonmany package eu.kanade.tachiyomi.extension.en.toonmany
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@Nsfw @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))
}

View File

@ -2,23 +2,9 @@ package eu.kanade.tachiyomi.extension.tr.turkcemanga
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET 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 eu.kanade.tachiyomi.source.model.SManga
import okhttp3.CacheControl
import okhttp3.Headers
import okhttp3.OkHttpClient
import okhttp3.Request import okhttp3.Request
import okhttp3.Response
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element 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") { 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) override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/page/$page/?s&post_type=wp-manga&m_orderby=views", headers)

View File

@ -1,11 +1,9 @@
package eu.kanade.tachiyomi.extension.en.twentyfourhmanga package eu.kanade.tachiyomi.extension.en.twentyfourhmanga
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@Nsfw @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))
}

View File

@ -5,4 +5,3 @@ import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class UyuyanBalik : Madara("Uyuyan Balik", "https://uyuyanbalik.com/", "tr", SimpleDateFormat("dd MMMM yyyy", Locale.US)) class UyuyanBalik : Madara("Uyuyan Balik", "https://uyuyanbalik.com/", "tr", SimpleDateFormat("dd MMMM yyyy", Locale.US))

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.webtoon18 package eu.kanade.tachiyomi.extension.en.webtoon18
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.webtoon69 package eu.kanade.tachiyomi.extension.en.webtoon69
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class WebToon69 : Madara("WebToon69", "https://webtoon69.com", "en") class WebToon69 : Madara("WebToon69", "https://webtoon69.com", "en")

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.webtoonstop package eu.kanade.tachiyomi.extension.en.webtoonstop
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@ -11,6 +11,4 @@ class WebtoonsTOP : Madara(
"https://webtoons.top", "https://webtoons.top",
"en", "en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US) dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US)
) { )
}

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.xmanga package eu.kanade.tachiyomi.extension.en.xmanga
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw @Nsfw
class XManga : Madara("XManga", "https://xmanga.io", "en") class XManga : Madara("XManga", "https://xmanga.io", "en")

View File

@ -1,11 +1,9 @@
package eu.kanade.tachiyomi.extension.en.yaoihentai package eu.kanade.tachiyomi.extension.en.yaoihentai
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@Nsfw @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))
}

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.extension.en.yaoimanga package eu.kanade.tachiyomi.extension.en.yaoimanga
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit

View File

@ -1,9 +1,7 @@
package eu.kanade.tachiyomi.extension.en.yaoiscan package eu.kanade.tachiyomi.extension.en.yaoiscan
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import java.text.SimpleDateFormat import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.util.Locale
@Nsfw @Nsfw
class YaoiScan : Madara("YaoiScan", "https://yaoiscan.com", "en") class YaoiScan : Madara("YaoiScan", "https://yaoiscan.com", "en")

View File

@ -1,11 +1,9 @@
package eu.kanade.tachiyomi.extension.en.yaoitoon package eu.kanade.tachiyomi.extension.en.yaoitoon
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.annotations.Nsfw import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
@Nsfw @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))
}

View File

@ -1,17 +1,7 @@
package eu.kanade.tachiyomi.extension.en.readattackontitanshingekinokyojinmanga package eu.kanade.tachiyomi.extension.en.readattackontitanshingekinokyojinmanga
import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.util.asJsoup
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.tachiyomi.source.model.Page
import eu.kanade.tachiyomi.source.online.ParsedHttpSource
import okhttp3.Request
import rx.Observable
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element import org.jsoup.nodes.Element
class ReadAttackOnTitanShingekiNoKyojinManga : MangaCatalog("Read Attack on Titan Shingeki no Kyojin Manga", "https://ww7.readsnk.com", "en") { class ReadAttackOnTitanShingekiNoKyojinManga : MangaCatalog("Read Attack on Titan Shingeki no Kyojin Manga", "https://ww7.readsnk.com", "en") {
@ -35,7 +25,7 @@ class ReadAttackOnTitanShingekiNoKyojinManga : MangaCatalog("Read Attack on Tita
override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply { override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
val name1 = element.select(".flex > a.text-gray-900").text() val name1 = element.select(".flex > a.text-gray-900").text()
val name2 = element.select(".flex > div.text-xs").text() val name2 = element.select(".flex > div.text-xs").text()
if (name2 == ""){ if (name2 == "") {
name = name1 name = name1
} else { } else {
name = "$name1 - $name2" name = "$name1 - $name2"

View File

@ -1,16 +1,8 @@
package eu.kanade.tachiyomi.extension.en.readberserkmanga package eu.kanade.tachiyomi.extension.en.readberserkmanga
import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.util.asJsoup
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.tachiyomi.source.model.Page
import eu.kanade.tachiyomi.source.online.ParsedHttpSource
import okhttp3.Request
import rx.Observable
import org.jsoup.nodes.Document import org.jsoup.nodes.Document
import org.jsoup.nodes.Element import org.jsoup.nodes.Element
@ -34,6 +26,6 @@ class ReadBerserkManga : MangaCatalog("Read Berserk Manga", "https://readberserk
override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply { override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
name = element.select("td:first-child").text() name = element.select("td:first-child").text()
url = element.select("a.btn-primary").attr("abs:href") url = element.select("a.btn-primary").attr("abs:href")
date_upload = System.currentTimeMillis() //I have no idear how to parse Date stuff date_upload = System.currentTimeMillis() // I have no idear how to parse Date stuff
} }
} }

View File

@ -1,8 +1,6 @@
package eu.kanade.tachiyomi.extension.en.readbokunoheroacademiamyheroacademiamanga package eu.kanade.tachiyomi.extension.en.readbokunoheroacademiamyheroacademiamanga
import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.util.asJsoup
class ReadBokuNoHeroAcademiaMyHeroAcademiaManga : MangaCatalog("Read Boku no Hero Academia My Hero Academia Manga", "https://ww6.readmha.com", "en") { class ReadBokuNoHeroAcademiaMyHeroAcademiaManga : MangaCatalog("Read Boku no Hero Academia My Hero Academia Manga", "https://ww6.readmha.com", "en") {
override val sourceList = listOf( override val sourceList = listOf(

View File

@ -1,8 +1,6 @@
package eu.kanade.tachiyomi.extension.en.readchainsawmanmangaonline package eu.kanade.tachiyomi.extension.en.readchainsawmanmangaonline
import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.util.asJsoup
class ReadChainsawManMangaOnline : MangaCatalog("Read Chainsaw Man Manga Online", "https://ww1.readchainsawman.com", "en") { class ReadChainsawManMangaOnline : MangaCatalog("Read Chainsaw Man Manga Online", "https://ww1.readchainsawman.com", "en") {
override val sourceList = listOf( override val sourceList = listOf(

View File

@ -1,8 +1,6 @@
package eu.kanade.tachiyomi.extension.en.readdragonballsuperchoumangaonline package eu.kanade.tachiyomi.extension.en.readdragonballsuperchoumangaonline
import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.util.asJsoup
class ReadDragonBallSuperChouMangaOnline : MangaCatalog("Read Dragon Ball Super Chou Manga Online", "https://ww6.dbsmanga.com", "en") { class ReadDragonBallSuperChouMangaOnline : MangaCatalog("Read Dragon Ball Super Chou Manga Online", "https://ww6.dbsmanga.com", "en") {
override val sourceList = listOf( override val sourceList = listOf(

View File

@ -1,8 +1,6 @@
package eu.kanade.tachiyomi.extension.en.readdrstonemangaonline package eu.kanade.tachiyomi.extension.en.readdrstonemangaonline
import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.util.asJsoup
class ReadDrStoneMangaOnline : MangaCatalog("Read Dr. Stone Manga Online", "https://ww3.readdrstone.com", "en") { class ReadDrStoneMangaOnline : MangaCatalog("Read Dr. Stone Manga Online", "https://ww3.readdrstone.com", "en") {
override val sourceList = listOf( override val sourceList = listOf(

View File

@ -1,8 +1,6 @@
package eu.kanade.tachiyomi.extension.en.readfairytailedenszeromangaonline package eu.kanade.tachiyomi.extension.en.readfairytailedenszeromangaonline
import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.util.asJsoup
class ReadFairyTailEdensZeroMangaOnline : MangaCatalog("Read Fairy Tail & Edens Zero Manga Online", "https://ww4.readfairytail.com", "en") { class ReadFairyTailEdensZeroMangaOnline : MangaCatalog("Read Fairy Tail & Edens Zero Manga Online", "https://ww4.readfairytail.com", "en") {
override val sourceList = listOf( override val sourceList = listOf(

View File

@ -1,16 +1,8 @@
package eu.kanade.tachiyomi.extension.en.readgoblinslayermangaonline package eu.kanade.tachiyomi.extension.en.readgoblinslayermangaonline
import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.util.asJsoup
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.tachiyomi.source.model.Page
import eu.kanade.tachiyomi.source.online.ParsedHttpSource
import okhttp3.Request
import rx.Observable
import org.jsoup.nodes.Document import org.jsoup.nodes.Document
import org.jsoup.nodes.Element import org.jsoup.nodes.Element
@ -31,6 +23,6 @@ class ReadGoblinSlayerMangaOnline : MangaCatalog("Read Goblin Slayer Manga Onlin
override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply { override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
name = element.select("td:first-child").text() name = element.select("td:first-child").text()
url = element.select("a.btn-primary").attr("abs:href") url = element.select("a.btn-primary").attr("abs:href")
date_upload = System.currentTimeMillis() //I have no idear how to parse Date stuff date_upload = System.currentTimeMillis() // I have no idear how to parse Date stuff
} }
} }

View File

@ -1,8 +1,6 @@
package eu.kanade.tachiyomi.extension.en.readhaikyuumangaonline package eu.kanade.tachiyomi.extension.en.readhaikyuumangaonline
import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.util.asJsoup
class ReadHaikyuuMangaOnline : MangaCatalog("Read Haikyuu!! Manga Online", "https://ww6.readhaikyuu.com", "en") { class ReadHaikyuuMangaOnline : MangaCatalog("Read Haikyuu!! Manga Online", "https://ww6.readhaikyuu.com", "en") {
override val sourceList = listOf( override val sourceList = listOf(

Some files were not shown because too many files have changed in this diff Show More