mgbuild 1.7.8 → 1.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -55538,7 +55538,8 @@ function mo_manga_getChapters($, slug) {
|
|
|
55538
55538
|
if (!link)
|
|
55539
55539
|
return;
|
|
55540
55540
|
chapter.id = mo_manga_getChapterCode(link);
|
|
55541
|
-
|
|
55541
|
+
const chapterName = chapter.id.split("/").at(-1);
|
|
55542
|
+
chapter.number = getChapterNumber(chapterName);
|
|
55542
55543
|
if (chapter.number === undefined)
|
|
55543
55544
|
return;
|
|
55544
55545
|
chapter.title = getChapterTitle(chapter.number);
|