Add new Source to wpmangareader (#8844)
* Add new Source to wpmangareader Add AR-FlameScans * Update WPMangaReaderGenerator.kt
This commit is contained in:
parent
83913bac1b
commit
1b7461b66b
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 9.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
Binary file not shown.
After Width: | Height: | Size: 135 KiB |
@ -0,0 +1,18 @@
|
|||||||
|
package eu.kanade.tachiyomi.extension.ar.arflamescans
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
|
||||||
|
import eu.kanade.tachiyomi.source.model.SManga
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
|
class ARFlameScans : WPMangaReader(
|
||||||
|
"AR FlameScans", "https://ar.flamescans.org", "ar",
|
||||||
|
mangaUrlDirectory = "/series",
|
||||||
|
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.US)
|
||||||
|
) {
|
||||||
|
override fun parseStatus(status: String) = when {
|
||||||
|
status.contains("مستمر") -> SManga.ONGOING
|
||||||
|
status.contains("مكتمل") -> SManga.COMPLETED
|
||||||
|
else -> SManga.UNKNOWN
|
||||||
|
}
|
||||||
|
}
|
@ -165,7 +165,7 @@ abstract class WPMangaReader(
|
|||||||
|
|
||||||
genre = document.select("div.gnr a, .mgen a, .seriestugenre a").joinToString { it.text() }
|
genre = document.select("div.gnr a, .mgen a, .seriestugenre a").joinToString { it.text() }
|
||||||
status = parseStatus(
|
status = parseStatus(
|
||||||
document.select("div.listinfo li:contains(Status), .tsinfo .imptdt:contains(status), .infotable tr:contains(status) td")
|
document.select("div.listinfo li:contains(Status), .tsinfo .imptdt:contains(status), .tsinfo .imptdt:contains(الحالة), .infotable tr:contains(status) td")
|
||||||
.text()
|
.text()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,11 +9,12 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
|
|||||||
|
|
||||||
override val themeClass = "WPMangaReader"
|
override val themeClass = "WPMangaReader"
|
||||||
|
|
||||||
override val baseVersionCode: Int = 10
|
override val baseVersionCode: Int = 11
|
||||||
|
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("Anitation Arts", "https://anitationarts.org", "en", overrideVersionCode = 1),
|
SingleLang("Anitation Arts", "https://anitationarts.org", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Alpha Scans", "https://alpha-scans.org", "en"),
|
SingleLang("Alpha Scans", "https://alpha-scans.org", "en"),
|
||||||
|
SingleLang("AR FlameScans", "https://ar.flamescans.org", "ar"),
|
||||||
SingleLang("Kiryuu", "https://kiryuu.id", "id", overrideVersionCode = 1),
|
SingleLang("Kiryuu", "https://kiryuu.id", "id", overrideVersionCode = 1),
|
||||||
SingleLang("KomikMama", "https://komikmama.net", "id"),
|
SingleLang("KomikMama", "https://komikmama.net", "id"),
|
||||||
SingleLang("MangaKita", "https://mangakita.net", "id", overrideVersionCode = 1),
|
SingleLang("MangaKita", "https://mangakita.net", "id", overrideVersionCode = 1),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user