Cleanup dead sources (#5094)
* Cleanup dead sources * Add Myreadingmanga FR and Myrockmanga FR lang * Bump myreadingmanga version
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'MyReadingManga'
|
||||
extClass = '.MyReadingMangaFactory'
|
||||
extVersionCode = 50
|
||||
extVersionCode = 51
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ private val languageList = listOf(
|
||||
// Source("", "Finnish"),
|
||||
// Source("", "Flemish", "flemish-dutch"),
|
||||
// Source("", "Dutch"),
|
||||
Source("fr", "French"),
|
||||
// Source("fr", "French"),
|
||||
Source("de", "German"),
|
||||
// Source("", "Greek"),
|
||||
// Source("", "Hebrew"),
|
||||
|
@ -9,7 +9,6 @@ class MyRockMangaFactory : SourceFactory {
|
||||
OtakuSanctuary("MyRockManga", "https://myrockmanga.com", "vi"),
|
||||
OtakuSanctuary("MyRockManga", "https://myrockmanga.com", "en"),
|
||||
OtakuSanctuary("MyRockManga", "https://myrockmanga.com", "it"),
|
||||
OtakuSanctuary("MyRockManga", "https://myrockmanga.com", "fr"),
|
||||
OtakuSanctuary("MyRockManga", "https://myrockmanga.com", "es"),
|
||||
)
|
||||
}
|
||||
|
@ -1,9 +0,0 @@
|
||||
ext {
|
||||
extName = 'Bentoscan'
|
||||
extClass = '.Bentoscan'
|
||||
themePkg = 'mmrcms'
|
||||
baseUrl = 'https://bentoscan.com'
|
||||
overrideVersionCode = 0
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
@ -1,23 +0,0 @@
|
||||
package eu.kanade.tachiyomi.extension.fr.bentoscan
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mmrcms.MMRCMS
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import okhttp3.Request
|
||||
|
||||
class Bentoscan : MMRCMS(
|
||||
"Bentoscan",
|
||||
"https://bentoscan.com",
|
||||
"fr",
|
||||
supportsAdvancedSearch = false,
|
||||
chapterNamePrefix = "Scan ",
|
||||
) {
|
||||
override fun imageRequest(page: Page): Request {
|
||||
val newHeaders = headersBuilder()
|
||||
.set("Referer", "https://scansmangas.me/")
|
||||
.set("Accept", "image/avif,image/webp,*/*")
|
||||
.build()
|
||||
|
||||
return GET(page.imageUrl!!, newHeaders)
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
ext {
|
||||
extName = 'Jpmangas'
|
||||
extClass = '.Jpmangas'
|
||||
themePkg = 'mmrcms'
|
||||
baseUrl = 'https://jpmangas.xyz'
|
||||
overrideVersionCode = 2
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
@ -1,10 +0,0 @@
|
||||
package eu.kanade.tachiyomi.extension.fr.jpmangas
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mmrcms.MMRCMS
|
||||
|
||||
class Jpmangas : MMRCMS(
|
||||
"Jpmangas",
|
||||
"https://jpmangas.xyz",
|
||||
"fr",
|
||||
supportsAdvancedSearch = false,
|
||||
)
|
@ -1,10 +0,0 @@
|
||||
ext {
|
||||
extName = 'Mangas Origines'
|
||||
extClass = '.MangasOrigines'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://mangas-origines.xyz'
|
||||
overrideVersionCode = 4
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 17 KiB |
@ -1,10 +0,0 @@
|
||||
package eu.kanade.tachiyomi.extension.fr.mangasorigines
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class MangasOrigines : Madara("Mangas Origines", "https://mangas-origines.xyz", "fr", SimpleDateFormat("MMMM d, yyyy", Locale("fr"))) {
|
||||
override val useNewChapterEndpoint = true
|
||||
override val mangaDetailsSelectorStatus = "div.summary-heading:contains(statut) + div.summary-content"
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
ext {
|
||||
extName = 'The Beginning After The End'
|
||||
extClass = '.TheBeginningAfterTheEnd'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://www.thebeginningaftertheend.fr'
|
||||
overrideVersionCode = 1
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 18 KiB |
@ -1,7 +0,0 @@
|
||||
package eu.kanade.tachiyomi.extension.fr.thebeginningaftertheend
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class TheBeginningAfterTheEnd : Madara("The Beginning After The End", "https://www.thebeginningaftertheend.fr", "fr", SimpleDateFormat("MMMMM dd, yyyy", Locale("fr")))
|
@ -1,9 +0,0 @@
|
||||
ext {
|
||||
extName = 'VF Scan'
|
||||
extClass = '.VFScan'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://www.vfscan.net'
|
||||
overrideVersionCode = 1
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 14 KiB |
@ -1,30 +0,0 @@
|
||||
package eu.kanade.tachiyomi.extension.fr.vfscan
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import okhttp3.OkHttpClient
|
||||
import org.jsoup.nodes.Document
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class VFScan : MangaThemesia("VF Scan", "https://www.vfscan.net", "fr", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.FRENCH)) {
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(2, 1, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override val seriesAuthorSelector = ".imptdt:contains(Mangaka) i, .fmed b:contains(Mangaka)+span"
|
||||
override val seriesStatusSelector = ".imptdt:contains(Statut) i"
|
||||
override fun String?.parseStatus(): Int = when {
|
||||
this == null -> SManga.UNKNOWN
|
||||
this.contains("En Cours", ignoreCase = true) -> SManga.ONGOING
|
||||
this.contains("Terminé", ignoreCase = true) -> SManga.COMPLETED
|
||||
else -> SManga.UNKNOWN
|
||||
}
|
||||
|
||||
override fun mangaDetailsParse(document: Document): SManga =
|
||||
super.mangaDetailsParse(document).apply {
|
||||
status = document.select(seriesStatusSelector).text().parseStatus()
|
||||
}
|
||||
}
|