Add source: Nox Scans & MangaTilkisi (#4854)
* Add source: Nox Scans * Add source: Manga Tilkisi * Update src/tr/noxscans/build.gradle Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com> * Update src/tr/mangatilkisi/build.gradle Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com> * Update MangaTilkisi.kt * Remove MajorScans * Remove MajorScans --------- Co-authored-by: hasanturkylmz <hasanturkylmz@outlook.com> Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>
|
@ -1,9 +0,0 @@
|
|||
ext {
|
||||
extName = 'MajorScans'
|
||||
extClass = '.MajorScans'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://www.majorscans.com'
|
||||
overrideVersionCode = 1
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
Before Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 29 KiB |
|
@ -1,26 +0,0 @@
|
|||
package eu.kanade.tachiyomi.extension.tr.majorscans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class MajorScans : MangaThemesia(
|
||||
"MajorScans",
|
||||
"https://www.majorscans.com",
|
||||
"tr",
|
||||
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("tr")),
|
||||
) {
|
||||
override val seriesStatusSelector = ".imptdt:contains(Durumu) i"
|
||||
|
||||
override val pageSelector = "div#readerarea img:not(noscript img)"
|
||||
|
||||
override fun String?.parseStatus(): Int = when {
|
||||
this == null -> SManga.UNKNOWN
|
||||
listOf("devam ediyor", "güncel").any { this.contains(it, ignoreCase = true) } -> SManga.ONGOING
|
||||
this.contains("tamamlandı", ignoreCase = true) -> SManga.COMPLETED
|
||||
this.contains("bırakıldı", ignoreCase = true) -> SManga.CANCELLED
|
||||
this.contains("sezon finali", ignoreCase = true) -> SManga.ON_HIATUS
|
||||
else -> SManga.UNKNOWN
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
ext {
|
||||
extName = 'MangaTilkisi'
|
||||
extClass = '.MangaTilkisi'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://www.mangatilkisi.com'
|
||||
overrideVersionCode = 0
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
After Width: | Height: | Size: 7.3 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 33 KiB |
|
@ -0,0 +1,12 @@
|
|||
package eu.kanade.tachiyomi.extension.tr.mangatilkisi
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class MangaTilkisi : Madara(
|
||||
"MangaTilkisi",
|
||||
"https://www.mangatilkisi.com",
|
||||
"tr",
|
||||
dateFormat = SimpleDateFormat("dd/MM/yyyy", Locale("tr")),
|
||||
)
|
|
@ -0,0 +1,10 @@
|
|||
ext {
|
||||
extName = 'Nox Scans'
|
||||
extClass = '.NoxScans'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://noxscans.com'
|
||||
overrideVersionCode = 0
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
After Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 40 KiB |
|
@ -0,0 +1,12 @@
|
|||
package eu.kanade.tachiyomi.extension.tr.noxscans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class NoxScans : MangaThemesia(
|
||||
"NoxScans",
|
||||
"https://noxscans.com",
|
||||
"tr",
|
||||
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("tr")),
|
||||
)
|