[shonen_jump_plus] remove special_content in seriesDetailEpisodeList and update User-Agent and rename to shonen_jump_plus (#111)

This commit is contained in:
LiuliFox
2025-07-25 17:07:18 +08:00
committed by GitHub
parent 499180b6ea
commit 215e539def
2 changed files with 5 additions and 5 deletions

View File

@@ -64,9 +64,9 @@
}, },
{ {
"name": "少年ジャンプ+", "name": "少年ジャンプ+",
"fileName": "shonenjumpplus.js", "fileName": "shonen_jump_plus.js",
"key": "shonen_jump_plus", "key": "shonen_jump_plus",
"version": "1.0.1" "version": "1.0.2"
}, },
{ {
"name": "hitomi.la", "name": "hitomi.la",

View File

@@ -1,7 +1,7 @@
class ShonenJumpPlus extends ComicSource { class ShonenJumpPlus extends ComicSource {
name = "少年ジャンプ+"; name = "少年ジャンプ+";
key = "shonen_jump_plus"; key = "shonen_jump_plus";
version = "1.0.1"; version = "1.0.2";
minAppVersion = "1.2.1"; minAppVersion = "1.2.1";
url = url =
"https://git.nyne.dev/nyne/venera-configs/raw/branch/main/shonen_jump_plus.js"; "https://git.nyne.dev/nyne/venera-configs/raw/branch/main/shonen_jump_plus.js";
@@ -16,7 +16,7 @@ class ShonenJumpPlus extends ComicSource {
"Origin": "https://shonenjumpplus.com", "Origin": "https://shonenjumpplus.com",
"Referer": "https://shonenjumpplus.com/", "Referer": "https://shonenjumpplus.com/",
"X-Giga-Device-Id": this.deviceId, "X-Giga-Device-Id": this.deviceId,
"User-Agent": "ShonenJumpPlus-Android/4.0.19", "User-Agent": "ShonenJumpPlus-Android/4.0.21",
}; };
} }
@@ -368,7 +368,7 @@ const GraphQLQueries = {
"SeriesDetailEpisodeList": "SeriesDetailEpisodeList":
`query SeriesDetailEpisodeList($id: String!, $episodeOffset: Int, $episodeFirst: Int, $episodeSort: ReadableProductSorting) { `query SeriesDetailEpisodeList($id: String!, $episodeOffset: Int, $episodeFirst: Int, $episodeSort: ReadableProductSorting) {
series(databaseId: $id) { series(databaseId: $id) {
episodes: readableProducts(types: [EPISODE,SPECIAL_CONTENT], first: $episodeFirst, offset: $episodeOffset, sort: $episodeSort) { episodes: readableProducts(types: [EPISODE], first: $episodeFirst, offset: $episodeOffset, sort: $episodeSort) {
edges { node { databaseId title } } edges { node { databaseId title } }
} }
} }