Add Toon FR (#3705)
This commit is contained in:
parent
4aa62d9b06
commit
bfbdf30ab9
lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara
src/fr/toonfr
build.gradle
res
mipmap-hdpi
mipmap-mdpi
mipmap-xhdpi
mipmap-xxhdpi
mipmap-xxxhdpi
src/eu/kanade/tachiyomi/extension/fr/toonfr
@ -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 {
|
||||
|
10
src/fr/toonfr/build.gradle
Normal file
10
src/fr/toonfr/build.gradle
Normal 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"
|
BIN
src/fr/toonfr/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/fr/toonfr/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 7.1 KiB |
BIN
src/fr/toonfr/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/fr/toonfr/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 3.6 KiB |
BIN
src/fr/toonfr/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/fr/toonfr/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 11 KiB |
BIN
src/fr/toonfr/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/fr/toonfr/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 24 KiB |
BIN
src/fr/toonfr/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/fr/toonfr/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After ![]() (image error) 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…
x
Reference in New Issue
Block a user