Add global bloging to madara (#519)

This commit is contained in:
Secozzi 2024-01-23 12:06:37 +00:00 committed by GitHub
parent e3ab225eea
commit 6db59cbe0d
7 changed files with 23 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -0,0 +1,22 @@
package eu.kanade.tachiyomi.extension.en.globalbloging
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class GlobalBloging : Madara(
"Global Bloging",
"https://globalbloging.com",
"en",
SimpleDateFormat("dd MMMM yyyy", Locale.US),
) {
override val useNewChapterEndpoint = true
override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/"
// =========================== Manga Details ============================
override val mangaDetailsSelectorThumbnail = "${super.mangaDetailsSelectorThumbnail}[src~=.]"
override val mangaDetailsSelectorAuthor = "div.manga-authors > a"
override val mangaDetailsSelectorDescription = "div.manga-summary > p"
}

View File

@ -118,6 +118,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Gekkou Scans", "https://gekkou.site", "pt-BR", isNsfw = true, pkgName = "gekkouscan", overrideVersionCode = 2),
SingleLang("Ghost Scan", "https://ghostscan.com.br", "pt-BR", isNsfw = true),
SingleLang("Girls Love Manga!", "https://glmanga.com", "en", isNsfw = true, className = "GirlsLoveManga"),
SingleLang("Global Bloging", "https://globalbloging.com", "en"),
SingleLang("Glory Manga", "https://glorymanga.com", "tr"),
SingleLang("Good Girls Scan", "https://goodgirls.moe", "en", isNsfw = true),
SingleLang("Goof Fansub", "https://gooffansub.com", "pt-BR", isNsfw = true),