PMScans: move to Madara (#17957)

This commit is contained in:
Vetle Ledaal 2023-09-15 18:58:33 +00:00 committed by GitHub
parent 2811454155
commit fdf664742c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 18 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 254 KiB

After

Width:  |  Height:  |  Size: 254 KiB

View File

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

View File

@ -397,6 +397,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Pink Sea Unicorn", "https://psunicorn.com", "pt-BR", isNsfw = true),
SingleLang("Pirulito Rosa", "https://pirulitorosa.site", "pt-BR", isNsfw = true),
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("PoManga", "https://pomanga.com", "en"),
SingleLang("Pony Manga", "https://ponymanga.com", "en", isNsfw = true),

View File

@ -103,7 +103,6 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
SingleLang("Phantom Scans", "https://phantomscans.com", "en", overrideVersionCode = 1),
SingleLang("PhenixScans", "https://phenixscans.fr", "fr", className = "PhenixScans", 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("Raiki Scan", "https://raikiscan.com", "es"),
SingleLang("Raven Scans", "https://ravenscans.com", "en", overrideVersionCode = 1),