PMScans: move to Madara (#17957)
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 254 KiB After Width: | Height: | Size: 254 KiB |
|
@ -0,0 +1,17 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.en.pmscans
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
|
class PMScans : Madara(
|
||||||
|
"PMScans",
|
||||||
|
"https://rackusreads.com",
|
||||||
|
"en",
|
||||||
|
dateFormat = SimpleDateFormat("dd/MM/yyyy", Locale.ROOT),
|
||||||
|
) {
|
||||||
|
override val versionId = 2
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
|
||||||
|
override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/"
|
||||||
|
}
|
|
@ -397,6 +397,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Pink Sea Unicorn", "https://psunicorn.com", "pt-BR", isNsfw = true),
|
SingleLang("Pink Sea Unicorn", "https://psunicorn.com", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Pirulito Rosa", "https://pirulitorosa.site", "pt-BR", isNsfw = true),
|
SingleLang("Pirulito Rosa", "https://pirulitorosa.site", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Platinum Crown", "https://platinumscans.com", "en", overrideVersionCode = 1),
|
SingleLang("Platinum Crown", "https://platinumscans.com", "en", overrideVersionCode = 1),
|
||||||
|
SingleLang("PMScans", "https://rackusreads.com", "en"),
|
||||||
SingleLang("Pojok Manga", "https://pojokmanga.net", "id", overrideVersionCode = 4),
|
SingleLang("Pojok Manga", "https://pojokmanga.net", "id", overrideVersionCode = 4),
|
||||||
SingleLang("PoManga", "https://pomanga.com", "en"),
|
SingleLang("PoManga", "https://pomanga.com", "en"),
|
||||||
SingleLang("Pony Manga", "https://ponymanga.com", "en", isNsfw = true),
|
SingleLang("Pony Manga", "https://ponymanga.com", "en", isNsfw = true),
|
||||||
|
|
|
@ -103,7 +103,6 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Phantom Scans", "https://phantomscans.com", "en", overrideVersionCode = 1),
|
SingleLang("Phantom Scans", "https://phantomscans.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("PhenixScans", "https://phenixscans.fr", "fr", className = "PhenixScans", overrideVersionCode = 1),
|
SingleLang("PhenixScans", "https://phenixscans.fr", "fr", className = "PhenixScans", overrideVersionCode = 1),
|
||||||
SingleLang("Pi Scans", "https://piscans.in", "id", overrideVersionCode = 1),
|
SingleLang("Pi Scans", "https://piscans.in", "id", overrideVersionCode = 1),
|
||||||
SingleLang("PMScans", "https://rackusreads.com", "en", overrideVersionCode = 3),
|
|
||||||
SingleLang("PotatoManga", "https://potatomanga.xyz", "ar"),
|
SingleLang("PotatoManga", "https://potatomanga.xyz", "ar"),
|
||||||
SingleLang("Raiki Scan", "https://raikiscan.com", "es"),
|
SingleLang("Raiki Scan", "https://raikiscan.com", "es"),
|
||||||
SingleLang("Raven Scans", "https://ravenscans.com", "en", overrideVersionCode = 1),
|
SingleLang("Raven Scans", "https://ravenscans.com", "en", overrideVersionCode = 1),
|
||||||
|
|