mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
feat(oduto): Add chapter page extraction method
This commit is contained in:
@@ -83,4 +83,12 @@ class DefaultExtension extends MProvider {
|
|||||||
chapters,
|
chapters,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// chapter pages
|
||||||
|
async getPageList(url) {
|
||||||
|
const doc = await this.request(url);
|
||||||
|
return doc.select("div.#post-body img[src]").map((x) => ({
|
||||||
|
url: x.attr("src"),
|
||||||
|
}));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user