From 057070f05bd863885c6e9ef80f8eab4c976820a2 Mon Sep 17 00:00:00 2001 From: Riztard Lanthorn Date: Sat, 16 Jan 2021 10:29:14 +0700 Subject: [PATCH] WP MangaReader add TurkToon (#5432) --- src/all/wpmangareader/build.gradle | 2 +- .../extension/all/wpmangareader/WPMangaReaderFactory.kt | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/all/wpmangareader/build.gradle b/src/all/wpmangareader/build.gradle index 8eaa10958..24f187a24 100644 --- a/src/all/wpmangareader/build.gradle +++ b/src/all/wpmangareader/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'WP MangaReader (multiple sources)' pkgNameSuffix = 'all.wpmangareader' extClass = '.WPMangaReaderFactory' - extVersionCode = 3 + extVersionCode = 4 libVersion = '1.2' } diff --git a/src/all/wpmangareader/src/eu/kanade/tachiyomi/extension/all/wpmangareader/WPMangaReaderFactory.kt b/src/all/wpmangareader/src/eu/kanade/tachiyomi/extension/all/wpmangareader/WPMangaReaderFactory.kt index e96618b5e..73951f8de 100644 --- a/src/all/wpmangareader/src/eu/kanade/tachiyomi/extension/all/wpmangareader/WPMangaReaderFactory.kt +++ b/src/all/wpmangareader/src/eu/kanade/tachiyomi/extension/all/wpmangareader/WPMangaReaderFactory.kt @@ -9,10 +9,13 @@ class WPMangaReaderFactory : SourceFactory { override fun createSources(): List = listOf( KomikMama(), MangaKita(), - Ngomik() + Ngomik(), + TurkToon(), ) } +class TurkToon : WPMangaReader("TurkToon", "https://turktoon.com", "tr", "/manga", SimpleDateFormat("MMM d, yyyy", Locale("tr"))) + class KomikMama : WPMangaReader("KomikMama", "https://komikmama.net", "id", "/manga", SimpleDateFormat("MMMM dd, yyyy", Locale.forLanguageTag("id"))) class MangaKita : WPMangaReader("MangaKita", "https://mangakita.net", "id")