Skip to content

Commit

Permalink
Merge branch 'miru-project:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
appdevelpo authored Oct 14, 2023
2 parents bbd2077 + b152e3d commit 96fa82f
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 9 deletions.
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/extension_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: ⭐ Extension request
description: Suggest a extension that you would like see added
labels: [ source request ]
body:

- type: input
id: source-name
attributes:
label: Source name
description: |
Provide the Source name.
placeholder: |
Example: "Gogoganime"
validations:
required: true

- type: input
id: source-url
attributes:
label: Source URL
description: |
Provide the Source URL.
placeholder: |
Example: "https://gogoanimehd.io"
validations:
required: true

- type: input
id: package-type
attributes:
label: Package type
placeholder: |
Example: "anime"
validations:
required: false

- type: input
id: language
attributes:
label: Source language
placeholder: |
Example: "en"
validations:
required: false

- type: textarea
id: other-details
attributes:
label: Other details
placeholder: |
Additional details and attachments.
- type: checkboxes
id: acknowledgements
attributes:
label: Acknowledgements
options:
- label: I have searched the existing issues and this is a new ticket, **NOT** a duplicate or related to another open issue.
required: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/report_issue.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 🐞 Issue report
description: Report a extension issue with a source
labels: []
labels: [ bug ]
body:

- type: input
Expand Down Expand Up @@ -34,7 +34,7 @@ body:
description: |
You can find your Miru version in **Settings**.
placeholder: |
Example: "1.6.7"
Example: "1.7.1"
validations:
required: true

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Miru extensions repository | [Miru App Download](https://github.com/miru-project
| Mikanani | me.mikanani | v0.0.3 | MiaoMint | zh-cn | bangumi | [Source Code](https://github.com/miru-project/repo/blob/main/repo/me.mikanani.js) |
| Enime | moe.enime | v0.0.5 | MiaoMint | all | bangumi | [Source Code](https://github.com/miru-project/repo/blob/main/repo/moe.enime.js) |
| 轻小说文库 | moe.wol.wenku8 | v0.0.1 | NPGamma | zh-cn | fikushon | [Source Code](https://github.com/miru-project/repo/blob/main/repo/moe.wol.wenku8.js) |
| Mtlnation | mtlnation.com | v0.0.1 | OshekharO | en | fikushon | [Source Code](https://github.com/miru-project/repo/blob/main/repo/mtlnation.com.js) |
| Mtlnation | mtlnation.com | v0.0.2 | OshekharO | en | fikushon | [Source Code](https://github.com/miru-project/repo/blob/main/repo/mtlnation.com.js) |
| YTS.mx | mx.yts | v0.0.6 | MiaoMint | all | bangumi | [Source Code](https://github.com/miru-project/repo/blob/main/repo/mx.yts.js) |
| rawkuma | rawkuma.com | v0.0.1 | appdevelpo | jp | manga | [Source Code](https://github.com/miru-project/repo/blob/main/repo/rawkuma.com.js) |
| ReadLN | readlightnovels | v0.0.1 | OshekharO | en | fikushon | [Source Code](https://github.com/miru-project/repo/blob/main/repo/readlightnovels.js) |
Expand Down
4 changes: 2 additions & 2 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@
"package": "mtlnation.com",
"type": "fikushon",
"url": "mtlnation.com.js",
"version": "v0.0.1",
"version": "v0.0.2",
"webSite": "https://api.mtlnation.com"
},
{
Expand All @@ -431,7 +431,7 @@
"package": "nhentai.to",
"type": "manga",
"url": "nhentai.to.js",
"version": "v0.0.1",
"version": "v0.0.2",
"webSite": "https://nhentai.to"
},
{
Expand Down
4 changes: 2 additions & 2 deletions repo/mtlnation.com.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==MiruExtension==
// @name Mtlnation
// @version v0.0.1
// @version v0.0.2
// @author OshekharO
// @lang en
// @license MIT
Expand Down Expand Up @@ -31,7 +31,7 @@ export default class extends Extension {
}

async latest(page) {
const res = await this.req(`/api/v2/novels/?sort=chapter_new&page=${page}`);
const res = await this.req(`/api/v2/novels/?sort=novel_new&page=${page}`);
return res.data.map((item) => ({
url: item.slug,
title: item.title,
Expand Down
4 changes: 2 additions & 2 deletions repo/nhentai.to.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==MiruExtension==
// @name Nhentai
// @version v0.0.1
// @version v0.0.2
// @author OshekharO
// @lang all
// @license MIT
Expand Down Expand Up @@ -95,7 +95,7 @@ export default class extends Extension {
});

return {
urls: res[0].images.map((item) => item.replace(/t\.jpg$/, ".jpg")),
urls: res[0].images.map((item) => item.replace(/t\d\.nhentai\.net/, "cdn.dogehls.xyz").replace("t.jpg", ".jpg")),
};
}
}

0 comments on commit 96fa82f

Please sign in to comment.