move MangaYu to standalone (#4876)
* add MangaYu source standalone they change to other theme from mmrcms * remove MangaYu from mmrcms
This commit is contained in:
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'My Manga Reader CMS (Many sources)'
|
||||
pkgNameSuffix = 'all.mmrcms'
|
||||
extClass = '.MyMangaReaderCMSSources'
|
||||
extVersionCode = 51
|
||||
extVersionCode = 52
|
||||
libVersion = '1.2'
|
||||
containsNsfw = true
|
||||
}
|
||||
|
@ -267,7 +267,6 @@ class Generator {
|
||||
SourceData("pt-BR", "Remangas", "https://remangas.top"),
|
||||
SourceData("pt-BR", "AnimaRegia", "https://animaregia.net"),
|
||||
SourceData("tr", "NoxSubs", "https://noxsubs.com"),
|
||||
SourceData("id", "MangaYu", "https://mangayu.com"),
|
||||
SourceData("tr", "MangaVadisi", "http://manga-v2.mangavadisi.org"),
|
||||
SourceData("id", "MangaID", "https://mangaid.click"),
|
||||
SourceData("fr", "Jpmangas", "https://www.jpmangas.com"),
|
||||
@ -277,6 +276,7 @@ class Generator {
|
||||
SourceData("other", "HentaiShark", "https://www.hentaishark.com", true)
|
||||
)
|
||||
// Changed CMS
|
||||
// SourceData("id", "MangaYu", "https://mangayu.com"),
|
||||
// SourceData("en", "MangaTreat Scans", "http://www.mangatreat.com"),
|
||||
// SourceData("en", "Chibi Manga Reader", "https://www.cmreader.info"),
|
||||
// SourceData("tr", "Epikmanga", "https://www.epikmanga.com"),
|
||||
|
@ -147,7 +147,7 @@ open class MyMangaReaderCMSSource(
|
||||
elements.select("a.fa-info-circle + a").firstOrNull()?.hasText() == true -> elements.map { latestUpdatesFromElement(it, "a.fa-info-circle + a") }
|
||||
// List layout (most sources)
|
||||
elements.select("a").firstOrNull()?.hasText() == true -> elements.map { latestUpdatesFromElement(it, "a") }
|
||||
// Grid layout (e.g. MangaYu and MangaID)
|
||||
// Grid layout (e.g. MangaID)
|
||||
else -> document.select(gridLatestUpdatesSelector()).map { gridLatestUpdatesFromElement(it) }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user