From f55ce85459e915276a7498eae409667e2d69d4d4 Mon Sep 17 00:00:00 2001 From: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com> Date: Wed, 13 Jan 2021 12:33:08 +0000 Subject: [PATCH] add and remove sources (#5392) * add voidscans.com to madara * remove PTScans from comiccake * voidscans.com does not support search * voidscans supports search, but results are limited --- src/all/comicake/build.gradle | 2 +- .../tachiyomi/extension/all/comicake/ComiCakeFactory.kt | 2 -- src/all/madara/build.gradle | 2 +- .../kanade/tachiyomi/extension/all/madara/MadaraFactory.kt | 5 +++++ 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/all/comicake/build.gradle b/src/all/comicake/build.gradle index fa8e38423..4362673ca 100644 --- a/src/all/comicake/build.gradle +++ b/src/all/comicake/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'ComiCake' pkgNameSuffix = 'all.comicake' extClass = '.ComiCakeFactory' - extVersionCode = 8 + extVersionCode = 9 libVersion = '1.2' } diff --git a/src/all/comicake/src/eu/kanade/tachiyomi/extension/all/comicake/ComiCakeFactory.kt b/src/all/comicake/src/eu/kanade/tachiyomi/extension/all/comicake/ComiCakeFactory.kt index 34541018e..bacd60149 100644 --- a/src/all/comicake/src/eu/kanade/tachiyomi/extension/all/comicake/ComiCakeFactory.kt +++ b/src/all/comicake/src/eu/kanade/tachiyomi/extension/all/comicake/ComiCakeFactory.kt @@ -6,11 +6,9 @@ import eu.kanade.tachiyomi.source.SourceFactory class ComiCakeFactory : SourceFactory { override fun createSources(): List = listOf( LetItGoScans(), - PTScans(), WhimSubs() ) } class LetItGoScans : ComiCake("LetItGo Scans", "https://reader.letitgo.scans.today", "en", "/") -class PTScans : ComiCake("ProjectTime Scans", "https://read.ptscans.com", "en", "/") class WhimSubs : ComiCake("WhimSubs", "https://whimsubs.xyz", "en") diff --git a/src/all/madara/build.gradle b/src/all/madara/build.gradle index a949e70bc..a1c97bf1b 100644 --- a/src/all/madara/build.gradle +++ b/src/all/madara/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Madara (multiple sources)' pkgNameSuffix = "all.madara" extClass = '.MadaraFactory' - extVersionCode = 167 + extVersionCode = 168 libVersion = '1.2' containsNsfw = true } diff --git a/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt b/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt index 8072f2634..04bc9399b 100644 --- a/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt +++ b/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt @@ -204,6 +204,7 @@ class MadaraFactory : SourceFactory { TsubakiNoScan(), TurkceManga(), TwilightScans(), + Voidscans(), Wakascan(), WarQueenScan(), WebNovel(), @@ -1491,3 +1492,7 @@ class MangaTeca : Madara( "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36" } } + +class Voidscans : Madara("Void Scans", "https://voidscans.com", "en") { + override fun searchMangaRequest(page: Int, query: String, filters: FilterList) = GET("$baseUrl/?s=$query&post_type=wp-manga") +}