Add Mangazavr (#2782)

This commit is contained in:
Vetle Ledaal 2024-05-03 10:36:21 +00:00 committed by Draff
parent bd8979d4b8
commit f436ebf6ab
8 changed files with 30 additions and 0 deletions

View File

@ -613,6 +613,7 @@ abstract class Madara(
"已完结", "已完结",
"Tamamlandı", "Tamamlandı",
"Đã hoàn thành", "Đã hoàn thành",
"Завершено",
) )
protected val ongoingStatusList: Array<String> = arrayOf( protected val ongoingStatusList: Array<String> = arrayOf(
@ -632,6 +633,7 @@ abstract class Madara(
"Đang chờ", "Đang chờ",
"متوقف", "متوقف",
"En Pause", "En Pause",
"Заморожено",
) )
protected val canceledStatusList: Array<String> = arrayOf( protected val canceledStatusList: Array<String> = arrayOf(
@ -642,6 +644,7 @@ abstract class Madara(
"Đã hủy", "Đã hủy",
"ملغي", "ملغي",
"Abandonné", "Abandonné",
"Заброшено",
) )
override fun mangaDetailsParse(document: Document): SManga { override fun mangaDetailsParse(document: Document): SManga {

View File

@ -0,0 +1,10 @@
ext {
extName = 'Mangazavr'
extClass = '.Mangazavr'
themePkg = 'madara'
baseUrl = 'https://mangazavr.ru'
overrideVersionCode = 0
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -0,0 +1,17 @@
package eu.kanade.tachiyomi.extension.ru.mangazavr
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class Mangazavr : Madara(
"Mangazavr",
"https://mangazavr.ru",
"ru",
dateFormat = SimpleDateFormat("dd.MM.yyyy", Locale.ROOT),
) {
override val mangaDetailsSelectorStatus = "div.summary-heading:contains(Статус) + div.summary-content"
override val useLoadMoreRequest = LoadMoreStrategy.Always
override val useNewChapterEndpoint = true
}