From 8c9f01a412bdb59185fa209d356c951f5dc2cd92 Mon Sep 17 00:00:00 2001 From: Saksham Shekher <95137948+OshekharO@users.noreply.github.com> Date: Sat, 7 Oct 2023 15:07:42 +0530 Subject: [PATCH] reverse chaps --- repo/manhuagui.com.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/repo/manhuagui.com.js b/repo/manhuagui.com.js index e18ed3c..2e38e81 100644 --- a/repo/manhuagui.com.js +++ b/repo/manhuagui.com.js @@ -2,7 +2,7 @@ // @name 漫画柜 // @version v0.0.1 // @author appdevelpo -// @lang zh +// @lang zh-cn // @license MIT // @type manga // @icon https://www.manhuagui.com/favicon.ico @@ -63,7 +63,7 @@ export default class Mangafx extends Extension { episodes: [ { title: "Directory", - urls: dat.chapter_groups[0].chapters.map((item) => ({ + urls: dat.chapter_groups[0].chapters.reverse().map((item) => ({ name: item.title, url: `${dat.mid}/${item.cid}`, })), @@ -74,8 +74,6 @@ export default class Mangafx extends Extension { async watch(url) { const res = await this.request(`/manga/${url}`); - // console.log(res); - // console.log(res.data.pages); return { urls: res.data.pages, headers:{ @@ -85,4 +83,4 @@ export default class Mangafx extends Extension { }; } } - \ No newline at end of file +