narou 3.9.0 → 3.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +6 -0
- data/README.md +2 -5
- data/commitversion +1 -1
- data/lib/version.rb +1 -1
- data/narou.gemspec +2 -5
- data/webnovel/ncode.syosetu.com.yaml +20 -17
- data/webnovel/novel18.syosetu.com.yaml +20 -17
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cba3073bd20cc176a06ad7d93226804233c5678f68a161246b136ce8acf43dc
|
4
|
+
data.tar.gz: 972ce99e7897a82ed37fd0b53766ae44b4734ef87bcb14efc0bc3613b26463f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55a9085a3ff2956615dcd37ace30dd716c185f5fd13222f97dbeef431ae490bf435c07fa85e9d27ba95bd6960ee72088abac373ec9394fea4b475b1d3bf44708
|
7
|
+
data.tar.gz: 0b0dc1381c4b4675c440da1e0420ac928e63fcf937c614d0eb0fc36bbb0ab46fd2807ab6196786da83d4717e75af0586159bbac6f299a265257244c69fc04f08
|
data/ChangeLog.md
CHANGED
data/README.md
CHANGED
@@ -34,13 +34,10 @@ Narou.rb - 小説家になろうのダウンローダ&縦書き整形&管理
|
|
34
34
|
更新履歴 - ChangeLog
|
35
35
|
--------------------
|
36
36
|
|
37
|
-
3.9.
|
37
|
+
3.9.1: 2024-09-19
|
38
38
|
-----------------
|
39
39
|
#### 修正内容
|
40
|
-
- 小説家になろうの目次修正に対応
|
41
|
-
- カクヨムの目次修正に対応
|
42
|
-
|
43
|
-
thanks for contributors: @topstone, @rogenobl, @happynow, @etg-lt
|
40
|
+
- 小説家になろうの目次修正に対応 #432 @etg-lt
|
44
41
|
|
45
42
|
----
|
46
43
|
|
data/commitversion
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
eb3b13e
|
data/lib/version.rb
CHANGED
data/narou.gemspec
CHANGED
@@ -32,13 +32,10 @@ Gem::Specification.new do |gem|
|
|
32
32
|
install_message = <<-EOS
|
33
33
|
#{"*" * 60}
|
34
34
|
|
35
|
-
3.9.
|
35
|
+
3.9.1: 2024-09-19
|
36
36
|
-----------------
|
37
37
|
#### 修正内容
|
38
|
-
- 小説家になろうの目次修正に対応
|
39
|
-
- カクヨムの目次修正に対応
|
40
|
-
|
41
|
-
thanks for contributors: @topstone, @rogenobl, @happynow, @etg-lt
|
38
|
+
- 小説家になろうの目次修正に対応 #432 @etg-lt
|
42
39
|
|
43
40
|
#{"*" * 60}
|
44
41
|
EOS
|
@@ -16,32 +16,35 @@ version: 2.0
|
|
16
16
|
# 目次取得設定
|
17
17
|
toc_url: https://\\k<domain>/\\k<ncode>/
|
18
18
|
subtitles: |-
|
19
|
-
(?:<div class="
|
19
|
+
(?:<div class="p-eplist__chapter-title">(?<chapter>.+?)</div>
|
20
20
|
|
21
|
-
)?<
|
22
|
-
<
|
23
|
-
|
24
|
-
</
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
21
|
+
)?<div class="p-eplist__sublist">
|
22
|
+
<a href="(?<href>/.+?/(?<index>\d+?)/)" class="p-eplist__subtitle">
|
23
|
+
(?<subtitle>.+?)
|
24
|
+
</a>
|
25
|
+
|
26
|
+
<div class="p-eplist__update">
|
27
|
+
(?:<span class="p-eplist__favep">.+?</span></span>)?(?<subdate>.+?)
|
28
|
+
(?:<span title="(?<subupdate>.+?) 改稿">(<u>改</u>)</span>
|
29
|
+
)?</div>
|
30
|
+
</div>
|
31
|
+
next_toc: <a href="/(?<next_page>[^"]+)" class="c-pager__item c-pager__item--next">
|
29
32
|
next_url: https://\\k<domain>/\\k<next_page>
|
30
33
|
# 最大のページ数を得る。固定の数字でも可。
|
31
|
-
toc_page_max: <a href="/[^"]+p=(?<toc_page_max>\d+)" class="
|
34
|
+
toc_page_max: <a href="/[^"]+p=(?<toc_page_max>\d+)" class="c-pager__item c-pager__item--last">
|
32
35
|
|
33
36
|
# ------------------------------------------------------------
|
34
37
|
# 本文取得設定
|
35
38
|
body_pattern: |-
|
36
|
-
<div
|
39
|
+
<div class="js-novel-text p-novel__text">
|
37
40
|
(?<body>.+?)
|
38
41
|
?</div>
|
39
42
|
introduction_pattern: |-
|
40
|
-
<div
|
43
|
+
<div class="js-novel-text p-novel__text p-novel__text--preface">
|
41
44
|
(?<introduction>.+?)
|
42
45
|
?</div>
|
43
46
|
postscript_pattern: |-
|
44
|
-
<div
|
47
|
+
<div class="js-novel-text p-novel__text p-novel__text--afterword">
|
45
48
|
(?<postscript>.+?)
|
46
49
|
?</div>
|
47
50
|
|
@@ -68,7 +71,7 @@ novel_type_string:
|
|
68
71
|
短編: 2
|
69
72
|
|
70
73
|
# general_all_no 掲載話数
|
71
|
-
ga: </span>全(?<general_all_no>\d+)
|
74
|
+
ga: </span>全(?<general_all_no>\d+)エピソード
|
72
75
|
|
73
76
|
# story あらすじ
|
74
77
|
s: <td class="ex">(?<story>.+?)</td>
|
@@ -80,14 +83,14 @@ gf: |-
|
|
80
83
|
|
81
84
|
# novelupdated_at 小説の更新時刻。連載小説だと書いてないので最終掲載日で代用
|
82
85
|
nu: |-
|
83
|
-
<th>(
|
86
|
+
<th>(?:最終更新日|最新掲載日|最終掲載日)</th>
|
84
87
|
<td>(?:
|
85
88
|
)?(?<novelupdated_at>.+?)(?:
|
86
89
|
)?</td>
|
87
90
|
|
88
|
-
# general_lastup
|
91
|
+
# general_lastup 最終掲載日
|
89
92
|
gl: |-
|
90
|
-
<th
|
93
|
+
<th>(?:最新掲載日|最終掲載日)</th>
|
91
94
|
<td>(?<general_lastup>.+?)</td>
|
92
95
|
|
93
96
|
# writer 作者名
|
@@ -21,32 +21,35 @@ version: 2.0
|
|
21
21
|
# 目次取得設定
|
22
22
|
toc_url: https://\\k<domain>/\\k<ncode>/
|
23
23
|
subtitles: |-
|
24
|
-
(?:<div class="
|
24
|
+
(?:<div class="p-eplist__chapter-title">(?<chapter>.+?)</div>
|
25
25
|
|
26
|
-
)?<
|
27
|
-
<
|
28
|
-
|
29
|
-
</
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
26
|
+
)?<div class="p-eplist__sublist">
|
27
|
+
<a href="(?<href>/.+?/(?<index>\d+?)/)" class="p-eplist__subtitle">
|
28
|
+
(?<subtitle>.+?)
|
29
|
+
</a>
|
30
|
+
|
31
|
+
<div class="p-eplist__update">
|
32
|
+
(?:<span class="p-eplist__favep">.+?</span></span>)?(?<subdate>.+?)
|
33
|
+
(?:<span title="(?<subupdate>.+?) 改稿">(<u>改</u>)</span>
|
34
|
+
)?</div>
|
35
|
+
</div>
|
36
|
+
next_toc: <a href="/(?<next_page>[^"]+)" class="c-pager__item c-pager__item--next">
|
34
37
|
next_url: https://\\k<domain>/\\k<next_page>
|
35
38
|
# 最大のページ数を得る。固定の数字でも可。
|
36
|
-
toc_page_max: <a href="/[^"]+p=(?<toc_page_max>\d+)" class="
|
39
|
+
toc_page_max: <a href="/[^"]+p=(?<toc_page_max>\d+)" class="c-pager__item c-pager__item--last">
|
37
40
|
|
38
41
|
# ------------------------------------------------------------
|
39
42
|
# 本文取得設定
|
40
43
|
body_pattern: |-
|
41
|
-
<div
|
44
|
+
<div class="js-novel-text p-novel__text">
|
42
45
|
(?<body>.+?)
|
43
46
|
?</div>
|
44
47
|
introduction_pattern: |-
|
45
|
-
<div
|
48
|
+
<div class="js-novel-text p-novel__text p-novel__text--preface">
|
46
49
|
(?<introduction>.+?)
|
47
50
|
?</div>
|
48
51
|
postscript_pattern: |-
|
49
|
-
<div
|
52
|
+
<div class="js-novel-text p-novel__text p-novel__text--afterword">
|
50
53
|
(?<postscript>.+?)
|
51
54
|
?</div>
|
52
55
|
|
@@ -73,7 +76,7 @@ novel_type_string:
|
|
73
76
|
短編: 2
|
74
77
|
|
75
78
|
# general_all_no 掲載話数
|
76
|
-
ga: </span>全(?<general_all_no>\d+)
|
79
|
+
ga: </span>全(?<general_all_no>\d+)エピソード
|
77
80
|
|
78
81
|
# story あらすじ
|
79
82
|
s: <td class="ex">(?<story>.+?)</td>
|
@@ -85,14 +88,14 @@ gf: |-
|
|
85
88
|
|
86
89
|
# novelupdated_at 小説の更新時刻。連載小説だと書いてないので最終掲載日で代用
|
87
90
|
nu: |-
|
88
|
-
<th>(
|
91
|
+
<th>(?:最終更新日|最新掲載日|最終掲載日)</th>
|
89
92
|
<td>(?:
|
90
93
|
)?(?<novelupdated_at>.+?)(?:
|
91
94
|
)?</td>
|
92
95
|
|
93
|
-
# general_lastup
|
96
|
+
# general_lastup 最終掲載日
|
94
97
|
gl: |-
|
95
|
-
<th
|
98
|
+
<th>(?:最新掲載日|最終掲載日)</th>
|
96
99
|
<td>(?<general_lastup>.+?)</td>
|
97
100
|
|
98
101
|
# writer 作者名
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: narou
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.9.
|
4
|
+
version: 3.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- whiteleaf7
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: termcolorlight
|
@@ -710,13 +710,10 @@ metadata: {}
|
|
710
710
|
post_install_message: |
|
711
711
|
************************************************************
|
712
712
|
|
713
|
-
3.9.
|
713
|
+
3.9.1: 2024-09-19
|
714
714
|
-----------------
|
715
715
|
#### 修正内容
|
716
|
-
- 小説家になろうの目次修正に対応
|
717
|
-
- カクヨムの目次修正に対応
|
718
|
-
|
719
|
-
thanks for contributors: @topstone, @rogenobl, @happynow, @etg-lt
|
716
|
+
- 小説家になろうの目次修正に対応 #432 @etg-lt
|
720
717
|
|
721
718
|
************************************************************
|
722
719
|
rdoc_options: []
|