Squashed commit of the following:
commit 187262a266
Author: Finnley Somdahl <87634197+rebelonion@users.noreply.github.com>
Date: Mon Nov 20 23:38:24 2023 -0600
work
This commit is contained in:
parent
1f44d32f35
commit
4c0f56d3e3
3 changed files with 425 additions and 439 deletions
|
@ -529,22 +529,10 @@ class DynamicMangaParser(extension: MangaExtension.Installed) : MangaParser() {
|
|||
|
||||
|
||||
private fun SChapterToMangaChapter(sChapter: SChapter): MangaChapter {
|
||||
/*val parsedChapterTitle = parseChapterTitle(sChapter.name)
|
||||
val number = if (sChapter.chapter_number.toInt() != -1){
|
||||
sChapter.chapter_number.toString()
|
||||
} else if(parsedChapterTitle.first != null || parsedChapterTitle.second != null){
|
||||
(parsedChapterTitle.first ?: "") + "." + (parsedChapterTitle.second ?: "")
|
||||
}else{
|
||||
sChapter.name
|
||||
}*/
|
||||
return MangaChapter(
|
||||
sChapter.name,
|
||||
sChapter.url,
|
||||
//if (parsedChapterTitle.first != null || parsedChapterTitle.second != null) {
|
||||
// parsedChapterTitle.third
|
||||
//} else {
|
||||
sChapter.name,
|
||||
//},
|
||||
"",
|
||||
null,
|
||||
sChapter.scanlator,
|
||||
sChapter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue