Shinigami.id (#15671)

* RepaerScans: change ID domain to shinigami.id

* remove issue moderator

* Shinigami: move to SingleLang
This commit is contained in:
mobi2002 2023-03-13 19:38:45 +05:00 committed by GitHub
parent 7592681b67
commit dd554f20b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 32 additions and 14 deletions

View File

@ -53,12 +53,6 @@ jobs:
"ignoreCase": true,
"message": "Refer to the **Solving Cloudflare issues** section at https://tachiyomi.org/help/guides/troubleshooting/#solving-cloudflare-issues. If it doesn't work, migrate to other sources or wait until they lower their protection."
},
{
"type": "body",
"regex": ".*shinigami\\.id.*",
"ignoreCase": true,
"message": "Duplicate of #15408"
},
{
"type": "body",
"regex": ".*olympusscans\\.com.*",

View File

@ -11,7 +11,6 @@ import java.util.Locale
class ReaperScansFactory : SourceFactory {
override fun createSources() = listOf(
ReaperScansTr(),
ReaperScansId(),
ReaperScansFr(),
)
}
@ -49,12 +48,6 @@ class ReaperScansTr : ReaperScans(
override val mangaDetailsSelectorTag = ""
}
class ReaperScansId : ReaperScans("https://reaperscans.id", "id") {
// Tags are useless as they are just SEO keywords.
override val mangaDetailsSelectorTag = ""
}
class ReaperScansFr : ReaperScans(
"https://reaperscans.fr",
"fr",

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

View File

@ -0,0 +1,30 @@
package eu.kanade.tachiyomi.extension.id.shinigami
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SChapter
import okhttp3.HttpUrl.Companion.toHttpUrl
import org.jsoup.nodes.Element
class Shinigami : Madara("Shinigami", "https://shinigami.id", "id") {
// moved from Reaper Scans (id) to Shinigami (id)
override val id = 3411809758861089969
// Tags are useless as they are just SEO keywords.
override val mangaDetailsSelectorTag = ""
override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
val urlElement = element.selectFirst(chapterUrlSelector)!!
name = urlElement.selectFirst("p.chapter-manhwa-title")?.text()
?: urlElement.ownText()
date_upload = urlElement.selectFirst("span.chapter-release-date > i")?.text()
.let { parseChapterDate(it) }
val fixedUrl = urlElement.attr("abs:href").toHttpUrl().newBuilder()
.removeAllQueryParameters("style")
.addQueryParameter("style", "list")
.toString()
setUrlWithoutDomain(fixedUrl)
}
}

View File

@ -17,7 +17,7 @@ class MadaraGenerator : ThemeSourceGenerator {
MultiLang("MangaForFree.net", "https://mangaforfree.net", listOf("en", "ko", "all"), isNsfw = true, className = "MangaForFreeFactory", pkgName = "mangaforfree", overrideVersionCode = 1),
MultiLang("Manhwa18.cc", "https://manhwa18.cc", listOf("en", "ko", "all"), isNsfw = true, className = "Manhwa18CcFactory", pkgName = "manhwa18cc", overrideVersionCode = 4),
MultiLang("Olympus Scanlation", "https://olympusscanlation.com", listOf("es", "pt-BR")),
MultiLang("Reaper Scans", "https://reaperscans.com", listOf("fr", "id", "tr"), className = "ReaperScansFactory", pkgName = "reaperscans", overrideVersionCode = 11),
MultiLang("Reaper Scans", "https://reaperscans.com", listOf("fr", "tr"), className = "ReaperScansFactory", pkgName = "reaperscans", overrideVersionCode = 12),
SingleLang("1st Kiss Manga.love", "https://1stkissmanga.love", "en", className = "FirstKissMangaLove", overrideVersionCode = 2),
SingleLang("1st Kiss Manhua", "https://1stkissmanhua.com", "en", className = "FirstKissManhua", overrideVersionCode = 4),
SingleLang("1st Kiss", "https://1stkissmanga.me", "en", className = "FirstKissManga", pkgName = "firstkissmanga", overrideVersionCode = 9),
@ -374,6 +374,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Shayami", "https://shayami.com", "es"),
SingleLang("Shield Manga", "https://shieldmanga.io", "en", overrideVersionCode = 3),
SingleLang("Shimada Scans", "https://shimadascans.com", "en"),
SingleLang("Shinigami", "https://shinigami.id", "id"),
SingleLang("Shirai Scans", "https://shiraiscans.com.br", "pt-BR"),
SingleLang("Shooting Star Scans", "https://shootingstarscans.com", "en"),
SingleLang("ShoujoHearts", "https://shoujohearts.com", "en", overrideVersionCode = 2),