mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 02:12:42 +01:00
Add global bloging to madara (#519)
This commit is contained in:
parent
e3ab225eea
commit
6db59cbe0d
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 |
22
multisrc/overrides/madara/globalbloging/src/GlobalBloging.kt
Normal file
22
multisrc/overrides/madara/globalbloging/src/GlobalBloging.kt
Normal 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"
|
||||
}
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user