Add Toon FR (#3705)

This commit is contained in:
Vetle Ledaal 2024-06-23 10:26:07 +02:00 committed by Draff
parent 4aa62d9b06
commit bfbdf30ab9
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
8 changed files with 34 additions and 0 deletions

View File

@ -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 {

View File

@ -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

View File

@ -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"
}