feat(multisrc/tr): New source: ShadowÇeviri (#19444)

* feat(multisrc/tr): Create ShadowCeviri base

* fix: Fix popular manga page

* fix: Fix chapter list

NOTE: The source itself does NOT provide all chapters of some of their entries.

* chore: Add source icons
This commit is contained in:
Claudemirovsky 2023-12-28 13:20:52 -03:00 committed by GitHub
parent 8b615b8d69
commit 7b43d762e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 29 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,28 @@
package eu.kanade.tachiyomi.extension.tr.shadowceviri
import eu.kanade.tachiyomi.multisrc.zeistmanga.ZeistManga
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.tachiyomi.util.asJsoup
import okhttp3.Response
class ShadowCeviri : ZeistManga("Shadow Çeviri", "https://shadowceviri.blogspot.com", "tr") {
// ============================== Popular ===============================
override fun popularMangaParse(response: Response): MangasPage {
val document = response.use { it.asJsoup() }
val mangas = document.select("ul.gallery > li.bg").map { element ->
SManga.create().apply {
thumbnail_url = element.attr("style").substringAfter('(').substringBefore(')')
title = element.selectFirst("h3")?.text() ?: "Manga"
// NPE my beloved
setUrlWithoutDomain(element.selectFirst("a")!!.attr("href"))
}
}
return MangasPage(mangas, false)
}
// ============================== Chapters ==============================
override val useOldChapterFeed = true
override val chapterCategory = "Bölüm"
}

View File

@ -25,6 +25,7 @@ class ZeistMangaGenerator : ThemeSourceGenerator {
SingleLang("Manga Soul", "https://www.manga-soul.com", "ar", isNsfw = true),
SingleLang("MikoRoku", "https://www.mikoroku.web.id", "id", isNsfw = true, overrideVersionCode = 1),
SingleLang("Mikrokosmos Fansub", "https://mikrokosmosfb.blogspot.com", "tr", isNsfw = true),
SingleLang("Shadow Çeviri", "https://shadowceviri.blogspot.com", "tr", className = "ShadowCeviri"),
SingleLang("ShiyuraSub", "https://shiyurasub.blogspot.com", "id"),
SingleLang("SobatManKu", "https://www.sobatmanku19.site", "id"),
SingleLang("Tooncubus", "https://www.tooncubus.top", "id", isNsfw = true),