MMRCMS - add Op-VF and FR Scan (#4161)
This commit is contained in:
parent
e1cabf0d2a
commit
9dc5d2ca83
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'My Manga Reader CMS (Many sources)'
|
||||
pkgNameSuffix = 'all.mmrcms'
|
||||
extClass = '.MyMangaReaderCMSSources'
|
||||
extVersionCode = 49
|
||||
extVersionCode = 50
|
||||
libVersion = '1.2'
|
||||
containsNsfw = true
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -269,6 +269,8 @@ class Generator {
|
||||
SourceData("tr", "MangaVadisi", "http://manga-v2.mangavadisi.org"),
|
||||
SourceData("id", "MangaID", "https://mangaid.click"),
|
||||
SourceData("fr", "Jpmangas", "https://www.jpmangas.com"),
|
||||
SourceData("fr", "Op-VF", "https://www.op-vf.com"),
|
||||
SourceData("fr", "FR Scan", "https://www.frscan.me"),
|
||||
// NOTE: THIS SOURCE CONTAINS A CUSTOM LANGUAGE SYSTEM (which will be ignored)!
|
||||
SourceData("other", "HentaiShark", "https://www.hentaishark.com", true))
|
||||
// Changed CMS
|
||||
|
@ -308,7 +308,7 @@ open class MyMangaReaderCMSSource(
|
||||
val chapter = SChapter.create()
|
||||
|
||||
try {
|
||||
val titleWrapper = element.select("[class^=chapter-title-rtl]").first()
|
||||
val titleWrapper = if (name == "Mangas.pw") element.select("em a[alt]").first() else element.select("[class^=chapter-title-rtl]").first()
|
||||
// Some websites add characters after "..-rtl" thus the need of checking classes that starts with that
|
||||
val url = titleWrapper.getElementsByTag("a")
|
||||
.first { it.attr("href").contains(urlRegex) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user