diff --git a/src/en/mangazuki/build.gradle b/src/en/mangazuki/build.gradle index d31fd1fa4..b4441faa8 100644 --- a/src/en/mangazuki/build.gradle +++ b/src/en/mangazuki/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Mangazuki' pkgNameSuffix = 'en.mangazuki' extClass = '.Mangazuki' - extVersionCode = 4 + extVersionCode = 5 libVersion = '1.0' } diff --git a/src/en/mangazuki/src/eu/kanade/tachiyomi/extension/en/mangazuki/Mangazuki.kt b/src/en/mangazuki/src/eu/kanade/tachiyomi/extension/en/mangazuki/Mangazuki.kt index 4f3f35717..b1d16f77a 100644 --- a/src/en/mangazuki/src/eu/kanade/tachiyomi/extension/en/mangazuki/Mangazuki.kt +++ b/src/en/mangazuki/src/eu/kanade/tachiyomi/extension/en/mangazuki/Mangazuki.kt @@ -1,16 +1,21 @@ package eu.kanade.tachiyomi.extension.en.mangazuki import eu.kanade.tachiyomi.network.GET -import eu.kanade.tachiyomi.source.model.* +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 okhttp3.HttpUrl import okhttp3.Request import org.jsoup.nodes.Document import org.jsoup.nodes.Element import org.jsoup.select.Elements +import rx.Observable import java.text.ParseException import java.text.SimpleDateFormat -import java.util.* +import java.util.Date +import java.util.Locale class Mangazuki : ParsedHttpSource() { @@ -58,12 +63,12 @@ class Mangazuki : ParsedHttpSource() { override fun latestUpdatesNextPageSelector() = popularMangaNextPageSelector() + // Search doesn't work on the site + override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable = Observable.empty() + override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request = throw Exception("Not used") - override fun searchMangaSelector() = throw Exception("Not used") - override fun searchMangaFromElement(element: Element): SManga = throw Exception("Not used") - override fun searchMangaNextPageSelector() = throw Exception("Not used") override fun mangaDetailsParse(document: Document): SManga { diff --git a/src/en/questionablecontent/src/eu/kanade/tachiyomi/extension/en/questionablecontent/QuestionableContent.kt b/src/en/questionablecontent/src/eu/kanade/tachiyomi/extension/en/questionablecontent/QuestionableContent.kt index 539b7cb5e..3b69fefdb 100644 --- a/src/en/questionablecontent/src/eu/kanade/tachiyomi/extension/en/questionablecontent/QuestionableContent.kt +++ b/src/en/questionablecontent/src/eu/kanade/tachiyomi/extension/en/questionablecontent/QuestionableContent.kt @@ -32,7 +32,7 @@ class QuestionableContent : ParsedHttpSource() { return Observable.just(MangasPage(arrayListOf(manga), false)) } - override fun fetchSearchManga(page: Int, query: String, filters: FilterList) = Observable.just(MangasPage(arrayListOf(), false)) + override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable = Observable.empty() override fun fetchMangaDetails(manga: SManga) = Observable.just(manga) diff --git a/src/en/xkcd/src/eu/kanade/tachiyomi/extension/en/xkcd/Xkcd.kt b/src/en/xkcd/src/eu/kanade/tachiyomi/extension/en/xkcd/Xkcd.kt index 45f1437cc..7016e4b91 100644 --- a/src/en/xkcd/src/eu/kanade/tachiyomi/extension/en/xkcd/Xkcd.kt +++ b/src/en/xkcd/src/eu/kanade/tachiyomi/extension/en/xkcd/Xkcd.kt @@ -37,7 +37,7 @@ class Xkcd : ParsedHttpSource() { return Observable.just(MangasPage(arrayListOf(manga), false)) } - override fun fetchSearchManga(page: Int, query: String, filters: FilterList) = Observable.just(MangasPage(arrayListOf(), false)) + override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable = Observable.empty() override fun fetchMangaDetails(manga: SManga): Observable { return Observable.just(manga)