Skip to content

Commit

Permalink
reverse chaps
Browse files Browse the repository at this point in the history
  • Loading branch information
OshekharO authored Oct 7, 2023
1 parent 8e9d01a commit 8c9f01a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions repo/manhuagui.com.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}`,
})),
Expand All @@ -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:{
Expand All @@ -85,4 +83,4 @@ export default class Mangafx extends Extension {
};
}
}


0 comments on commit 8c9f01a

Please sign in to comment.