fix: reverse cartoonmad item order (#1613)
This commit is contained in:
parent
59447e4b89
commit
bdfd89aa56
|
|
@ -12,13 +12,11 @@ const getChapters = ($) =>
|
|||
return {
|
||||
link: resolve('https://www.cartoonmad.com/', a.attr('href')),
|
||||
title: a.text(),
|
||||
num: a
|
||||
.parent()
|
||||
.find('font')
|
||||
.text(),
|
||||
num: a.next('font').text(),
|
||||
};
|
||||
})
|
||||
.toArray();
|
||||
.toArray()
|
||||
.reverse();
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const { id } = ctx.params;
|
||||
|
|
|
|||
Loading…
Reference in New Issue