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:
parent
5988ed0853
commit
f55ce85459
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'ComiCake'
|
||||
pkgNameSuffix = 'all.comicake'
|
||||
extClass = '.ComiCakeFactory'
|
||||
extVersionCode = 8
|
||||
extVersionCode = 9
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Madara (multiple sources)'
|
||||
pkgNameSuffix = "all.madara"
|
||||
extClass = '.MadaraFactory'
|
||||
extVersionCode = 167
|
||||
extVersionCode = 168
|
||||
libVersion = '1.2'
|
||||
containsNsfw = true
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue