Skip to content

Commit 166ffd7

Browse files
committed
testing more pages for new chapters
1 parent 725e15b commit 166ffd7

File tree

2 files changed

+262
-240
lines changed

2 files changed

+262
-240
lines changed

src/generic/main.ts

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -318,18 +318,6 @@ export abstract class MangaWorldGeneric
318318
item.data.globalData.topMangas,
319319
);
320320
break;
321-
case "manga":
322-
if (id == "updated_section") {
323-
const updated_section =
324-
await this.parser.parseLastAddedSection(
325-
metadata,
326-
this,
327-
item.data,
328-
);
329-
if (updated_section)
330-
chapterUpdate.push(updated_section);
331-
}
332-
break;
333321
}
334322
}
335323
if (chapterUpdate.length > 0) {
@@ -339,6 +327,9 @@ export abstract class MangaWorldGeneric
339327
return section;
340328
}
341329
switch (id) {
330+
case "updated_section": {
331+
return this.parser.parseLastAddedSectionPages(metadata, this);
332+
}
342333
case "most_read_section": {
343334
return this.parser.parseMostReadSection(metadata, this);
344335
}

0 commit comments

Comments
 (0)