Remove MMScans (#2604)

This commit is contained in:
Vetle Ledaal 2024-04-27 08:51:57 +00:00 committed by Draff
parent b54330f88f
commit 411c3218fd
7 changed files with 0 additions and 78 deletions

View File

@ -1,9 +0,0 @@
ext {
extName = 'MMScans'
extClass = '.MMScans'
themePkg = 'madara'
baseUrl = 'https://mm-scans.org'
overrideVersionCode = 7
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

View File

@ -1,69 +0,0 @@
package eu.kanade.tachiyomi.extension.en.mmscans
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
import org.jsoup.nodes.Element
class MMScans : Madara("MMScans", "https://mm-scans.org", "en") {
// The site customized the listing and does not include a .manga class.
override val filterNonMangaItems = false
override val useLoadMoreRequest = LoadMoreStrategy.Always
override val popularMangaUrlSelector = "div.item-summary a"
override fun chapterListSelector() = "li.chapter-li"
override fun searchMangaSelector() = ".search-wrap >.tab-content-wrap > a"
override fun popularMangaFromElement(element: Element): SManga {
val manga = SManga.create()
with(element) {
selectFirst(popularMangaUrlSelector)?.let {
manga.setUrlWithoutDomain(it.attr("abs:href"))
manga.title = it.selectFirst("h3")!!.ownText()
}
selectFirst("img")?.let {
manga.thumbnail_url = imageFromElement(it)
}
}
return manga
}
override fun chapterFromElement(element: Element): SChapter {
val chapter = SChapter.create()
with(element) {
selectFirst(chapterUrlSelector)!!.let { urlElement ->
chapter.url = urlElement.attr("abs:href").let {
it.substringBefore("?style=paged") + if (!it.endsWith(chapterUrlSuffix)) chapterUrlSuffix else ""
}
chapter.name = urlElement.selectFirst(".chapter-title-date p")!!.text()
}
chapter.date_upload = parseChapterDate(selectFirst(chapterDateSelector())?.text())
}
return chapter
}
override fun searchMangaFromElement(element: Element): SManga {
val manga = SManga.create()
with(element) {
manga.setUrlWithoutDomain(attr("abs:href"))
select("div.post-title h3").first()?.let {
manga.title = it.ownText()
}
select("img").first()?.let {
manga.thumbnail_url = imageFromElement(it)
}
}
return manga
}
override val mangaDetailsSelectorDescription = "div.summary-text p"
override val mangaDetailsSelectorGenre = "div.genres-content"
}