Add Toon FR (#3705)
This commit is contained in:
parent
4aa62d9b06
commit
bfbdf30ab9
|
@ -615,6 +615,7 @@ abstract class Madara(
|
|||
"Đã hoàn thành",
|
||||
"Завершено",
|
||||
"Tamamlanan",
|
||||
"Complété",
|
||||
)
|
||||
|
||||
protected val ongoingStatusList: Array<String> = arrayOf(
|
||||
|
@ -635,6 +636,7 @@ abstract class Madara(
|
|||
"متوقف",
|
||||
"En Pause",
|
||||
"Заморожено",
|
||||
"En attente",
|
||||
)
|
||||
|
||||
protected val canceledStatusList: Array<String> = arrayOf(
|
||||
|
@ -646,6 +648,7 @@ abstract class Madara(
|
|||
"ملغي",
|
||||
"Abandonné",
|
||||
"Заброшено",
|
||||
"Annulé",
|
||||
)
|
||||
|
||||
override fun mangaDetailsParse(document: Document): SManga {
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
ext {
|
||||
extName = 'Toon FR'
|
||||
extClass = '.ToonFr'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://toonfr.com'
|
||||
overrideVersionCode = 0
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
|
@ -0,0 +1,21 @@
|
|||
package eu.kanade.tachiyomi.extension.fr.toonfr
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class ToonFr : Madara(
|
||||
"Toon FR",
|
||||
"https://toonfr.com",
|
||||
"fr",
|
||||
dateFormat = SimpleDateFormat("MMM d", Locale("fr")),
|
||||
) {
|
||||
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override val mangaSubString = "webtoon"
|
||||
|
||||
override val mangaDetailsSelectorTitle = ".post-content h3"
|
||||
override val mangaDetailsSelectorStatus = "div.summary-heading:contains(Statut) + div.summary-content"
|
||||
override val altNameSelector = ".post-content_item:contains(Autre nom) .summary-content"
|
||||
}
|
Loading…
Reference in New Issue