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
This commit is contained in:
OncePunchedMan 2021-01-13 12:33:08 +00:00 committed by GitHub
parent 5988ed0853
commit f55ce85459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'ComiCake'
pkgNameSuffix = 'all.comicake'
extClass = '.ComiCakeFactory'
extVersionCode = 8
extVersionCode = 9
libVersion = '1.2'
}

View File

@ -6,11 +6,9 @@ import eu.kanade.tachiyomi.source.SourceFactory
class ComiCakeFactory : SourceFactory {
override fun createSources(): List<Source> = 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")

View File

@ -5,7 +5,7 @@ ext {
extName = 'Madara (multiple sources)'
pkgNameSuffix = "all.madara"
extClass = '.MadaraFactory'
extVersionCode = 167
extVersionCode = 168
libVersion = '1.2'
containsNsfw = true
}

View File

@ -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")
}