diff --git a/src/en/mangafreak/src/eu/kanade/tachiyomi/extension/en/mangafreak/Mangafreak.kt b/src/en/mangafreak/src/eu/kanade/tachiyomi/extension/en/mangafreak/Mangafreak.kt index 2ff1534b3..bd9f2b1cf 100644 --- a/src/en/mangafreak/src/eu/kanade/tachiyomi/extension/en/mangafreak/Mangafreak.kt +++ b/src/en/mangafreak/src/eu/kanade/tachiyomi/extension/en/mangafreak/Mangafreak.kt @@ -132,7 +132,7 @@ class Mangafreak : ParsedHttpSource() { } override fun imageUrlParse(document: Document): String { - return throw Exception("Not Used") + throw Exception("Not Used") } // Filter diff --git a/src/en/mangalife/src/eu/kanade/tachiyomi/extension/en/mangalife/mangalife.kt b/src/en/mangalife/src/eu/kanade/tachiyomi/extension/en/mangalife/MangaLife.kt similarity index 100% rename from src/en/mangalife/src/eu/kanade/tachiyomi/extension/en/mangalife/mangalife.kt rename to src/en/mangalife/src/eu/kanade/tachiyomi/extension/en/mangalife/MangaLife.kt diff --git a/src/en/pururin/src/eu/kanade/tachiyomi/extension/en/pururin/PuruRin.kt b/src/en/pururin/src/eu/kanade/tachiyomi/extension/en/pururin/Pururin.kt similarity index 100% rename from src/en/pururin/src/eu/kanade/tachiyomi/extension/en/pururin/PuruRin.kt rename to src/en/pururin/src/eu/kanade/tachiyomi/extension/en/pururin/Pururin.kt diff --git a/src/id/mangakita/src/eu/kanade/tachiyomi/extension/id/mangakita/MangaKita.kt b/src/id/mangakita/src/eu/kanade/tachiyomi/extension/id/mangakita/MangaKita.kt index 4b07c2398..b915f498e 100644 --- a/src/id/mangakita/src/eu/kanade/tachiyomi/extension/id/mangakita/MangaKita.kt +++ b/src/id/mangakita/src/eu/kanade/tachiyomi/extension/id/mangakita/MangaKita.kt @@ -2,23 +2,15 @@ package eu.kanade.tachiyomi.extension.id.mangakita import eu.kanade.tachiyomi.network.GET 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.online.ParsedHttpSource -import eu.kanade.tachiyomi.util.asJsoup import okhttp3.OkHttpClient -import okhttp3.Request -import okhttp3.Response import org.jsoup.nodes.Document import org.jsoup.nodes.Element -import org.jsoup.select.Elements -import java.text.SimpleDateFormat -import java.util.Calendar -import java.util.Locale -class MangaKita: ParsedHttpSource() { +class MangaKita : ParsedHttpSource() { override val name = "MangaKita" override val baseUrl = "https://mangakita.net" @@ -33,7 +25,7 @@ class MangaKita: ParsedHttpSource() { override fun popularMangaRequest(page: Int) = GET("$baseUrl/manga-list", headers) - //The page I'm getting these from has no thumbnails + // The page I'm getting these from has no thumbnails override fun popularMangaFromElement(element: Element) = SManga.create().apply { setUrlWithoutDomain(element.attr("href")) title = element.attr("title") @@ -44,7 +36,7 @@ class MangaKita: ParsedHttpSource() { override fun latestUpdatesSelector() = "div.latestSeries" override fun latestUpdatesRequest(page: Int) = GET("$baseUrl/page/$page", headers) - + override fun latestUpdatesFromElement(element: Element) = SManga.create().apply { setUrlWithoutDomain(element.select("a").first().attr("href")) title = element.select("p.clamp2").first().ownText() diff --git a/src/ru/acomics/src/eu/kanade/tachiyomi/extension/ru/acomics/Acomics.kt b/src/ru/acomics/src/eu/kanade/tachiyomi/extension/ru/acomics/AComics.kt similarity index 100% rename from src/ru/acomics/src/eu/kanade/tachiyomi/extension/ru/acomics/Acomics.kt rename to src/ru/acomics/src/eu/kanade/tachiyomi/extension/ru/acomics/AComics.kt diff --git a/src/ru/mangaonlinebiz/src/eu/kanade/tachiyomi/extension/ru/mangaonlinebiz/Mangaonlinebiz.kt b/src/ru/mangaonlinebiz/src/eu/kanade/tachiyomi/extension/ru/mangaonlinebiz/MangaOnlineBiz.kt similarity index 100% rename from src/ru/mangaonlinebiz/src/eu/kanade/tachiyomi/extension/ru/mangaonlinebiz/Mangaonlinebiz.kt rename to src/ru/mangaonlinebiz/src/eu/kanade/tachiyomi/extension/ru/mangaonlinebiz/MangaOnlineBiz.kt diff --git a/src/zh/hanhankuman/src/eu/kanade/tachiyomi/extension/zh/hanhankuman/HanhanKuman.kt b/src/zh/hanhankuman/src/eu/kanade/tachiyomi/extension/zh/hanhankuman/HanhanKuman.kt index 5efc6184b..155962b36 100644 --- a/src/zh/hanhankuman/src/eu/kanade/tachiyomi/extension/zh/hanhankuman/HanhanKuman.kt +++ b/src/zh/hanhankuman/src/eu/kanade/tachiyomi/extension/zh/hanhankuman/HanhanKuman.kt @@ -100,9 +100,9 @@ class HanhanKuman : ParsedHttpSource() { val re = Regex(""".*\/(.*?)\/\d+\.html\?s=(\d+)""") - val matches = re.find(url)?.groups - val pathId = matches!!.get(1)!!.value - val pathS = matches!!.get(2)!!.value + val matches = re.find(url)?.groups!! + val pathId = matches[1]!!.value + val pathS = matches[2]!!.value return pageListParse(response.asJsoup(), pathId, pathS) } diff --git a/src/zh/kuaikanmanhua/src/eu/kanade/tachiyomi/extension/zh/kuaikanmanhua/Kuaikanmanhua.kt b/src/zh/kuaikanmanhua/src/eu/kanade/tachiyomi/extension/zh/kuaikanmanhua/Kuaikanmanhua.kt index 914dcd5b2..35d8c89a5 100644 --- a/src/zh/kuaikanmanhua/src/eu/kanade/tachiyomi/extension/zh/kuaikanmanhua/Kuaikanmanhua.kt +++ b/src/zh/kuaikanmanhua/src/eu/kanade/tachiyomi/extension/zh/kuaikanmanhua/Kuaikanmanhua.kt @@ -168,7 +168,7 @@ class Kuaikanmanhua : ParsedHttpSource() { override fun pageListRequest(chapter: SChapter): Request { if (chapter.url == "javascript:void(0);") { - return throw Exception("[此章节为付费内容]") + throw Exception("[此章节为付费内容]") } return super.pageListRequest(chapter) }