parent
4d4eebb6ac
commit
1882705bd4
|
@ -371,7 +371,7 @@ abstract class MMRCMS(
|
||||||
val chapter = SChapter.create()
|
val chapter = SChapter.create()
|
||||||
|
|
||||||
try {
|
try {
|
||||||
val titleWrapper = if (name == "Mangas.pw") element.select("i a").first() else element.select("[class^=chapter-title-rtl]").first()
|
val titleWrapper = if (name == "Mangas.pw") element.select("i a").last() else element.select("[class^=chapter-title-rtl]").first()
|
||||||
// Some websites add characters after "..-rtl" thus the need of checking classes that starts with that
|
// Some websites add characters after "..-rtl" thus the need of checking classes that starts with that
|
||||||
val url = titleWrapper.getElementsByTag("a")
|
val url = titleWrapper.getElementsByTag("a")
|
||||||
.first { it.attr("href").contains(urlRegex) }
|
.first { it.attr("href").contains(urlRegex) }
|
||||||
|
|
|
@ -32,7 +32,7 @@ class MMRCMSSources {
|
||||||
override val overrideVersionCode: Int = 0,
|
override val overrideVersionCode: Int = 0,
|
||||||
) : SourceData()
|
) : SourceData()
|
||||||
}
|
}
|
||||||
val version: Int = 3
|
val version: Int = 4
|
||||||
val sourceList: List<SourceData.Single> = listOf(
|
val sourceList: List<SourceData.Single> = listOf(
|
||||||
SourceData.Single("مانجا اون لاين", "https://onma.me", "ar", className = "onma"),
|
SourceData.Single("مانجا اون لاين", "https://onma.me", "ar", className = "onma"),
|
||||||
SourceData.Single("Read Comics Online", "https://readcomicsonline.ru", "en"),
|
SourceData.Single("Read Comics Online", "https://readcomicsonline.ru", "en"),
|
||||||
|
|
Loading…
Reference in New Issue