Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webnovel/kakuyomu.jp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ code: &code
# work: この作品のデータ
work = data["Work:#{json["query"]["workId"]}"]
# まずTOCを処理する
toc = work["tableOfContents"]
toc = work["tableOfContentsV2"]
# workのTOCはTableOfContentsChapterの参照の配列となっているので、それを解決する
toc.map! {|v| data[v["__ref"]]}
# TableOfContentsChapterにはChapterと各話の配列があるのでそれを取り出し
Expand Down