mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: reverse cartoonmad item order (#1613)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user