narou 3.1.9 → 3.1.10

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of narou might be problematic. Click here for more details.

@@ -1,78 +0,0 @@
1
- # ------------------------------------------------------------
2
- # 小説サイト定義
3
- name: 小説家になろう
4
- scheme: https
5
- domain: ncode.syosetu.com
6
- top_url: \\k<scheme>://\\k<domain>
7
- url: \\k<top_url>/(?<ncode>n\d+[a-z]+)
8
- encoding: UTF-8
9
- confirm_over18: no
10
- append_title_to_folder_name: yes
11
- title_strip_pattern: null
12
- cookie: over18=yes
13
-
14
- # ------------------------------------------------------------
15
- # 目次取得設定
16
- toc_url: \\k<top_url>/\\k<ncode>/
17
- subtitles: |-
18
- (?:<div class="chapter_title">(?<chapter>.+?)</div>
19
-
20
- )?<dl class="novel_sublist2">
21
- <dd class="subtitle">
22
- <a href="(?<href>/.+?/(?<index>\d+?)/)">(?<subtitle>.+?)</a>
23
- </dd>
24
- <dt class="long_update">
25
- (?<subdate>.+?)(?:
26
- <span title="(?<subupdate>.+?) 改稿">
27
- (<u>改</u>)</span>)?
28
- </dt>
29
- </dl>
30
-
31
- # ------------------------------------------------------------
32
- # 特殊な設定
33
- is_narou: true
34
- tcode: <li><a href="\\k<top_url>/txtdownload/top/ncode/(?<tcode>\d+?)/" onclick
35
- txtdownload_url: \\k<top_url>/txtdownload/dlstart/ncode/\\k<tcode>/?no=\\k<index>
36
- narou_api_url: https://api.syosetu.com/novelapi/api/
37
-
38
- # ------------------------------------------------------------
39
- # 小説情報からパースするための設定
40
- novel_info_url: \\k<top_url>/novelview/infotop/ncode/\\k<ncode>/
41
-
42
- # タイトル
43
- t: <h1><a href=".+?">(?<title>.+?)</a></h1>
44
-
45
- # novel_type 小説種別
46
- nt: <span id="noveltype(?:.*?)">(?<novel_type>.+?)</span>
47
- novel_type_string:
48
- 連載中: 1
49
- 完結済: 3
50
- 短編: 2
51
-
52
- # general_all_no 掲載話数
53
- ga: </span>全(?<general_all_no>\d+)部
54
-
55
- # story あらすじ
56
- s: <td class="ex">(?<story>.+?)</td>
57
-
58
- # general_firstup 初回掲載日
59
- gf: |-
60
- <th>掲載日</th>
61
- <td>(?<general_firstup>.+?)</td>
62
-
63
- # novelupdated_at 小説の更新時刻。連載小説だと書いてないので最終掲載日で代用
64
- nu: |-
65
- <th>(?:最終更新日|最終話掲載日)</th>
66
- <td>(?:
67
- )?(?<novelupdated_at>.+?)(?:
68
- )?</td>
69
-
70
- # general_lastup 最終話掲載日
71
- gl: |-
72
- <th>最終話掲載日</th>
73
- <td>(?<general_lastup>.+?)</td>
74
-
75
- # writer 作者名
76
- w: |-
77
- <th>作者名</th>
78
- <td>(?:<a href=".+?">)?(?<writer>.+?)(?:</a>)?.?</td>
@@ -1,78 +0,0 @@
1
- # ------------------------------------------------------------
2
- # 小説サイト定義
3
- name: ノクターン・ムーンライト
4
- scheme: https
5
- domain: novel18.syosetu.com
6
- top_url: \\k<scheme>://\\k<domain>
7
- url: \\k<top_url>/(?<ncode>n\d+[a-z]+)
8
- encoding: UTF-8
9
- confirm_over18: yes
10
- append_title_to_folder_name: yes
11
- title_strip_pattern: null
12
- cookie: over18=yes
13
-
14
- # ------------------------------------------------------------
15
- # 目次取得設定
16
- toc_url: \\k<top_url>/\\k<ncode>/
17
- subtitles: |-
18
- (?:<div class="chapter_title">(?<chapter>.+?)</div>
19
-
20
- )?<dl class="novel_sublist2">
21
- <dd class="subtitle">
22
- <a href="(?<href>/.+?/(?<index>\d+?)/)">(?<subtitle>.+?)</a>
23
- </dd>
24
- <dt class="long_update">
25
- (?<subdate>.+?)(?:
26
- <span title="(?<subupdate>.+?) 改稿">
27
- (<u>改</u>)</span>)?
28
- </dt>
29
- </dl>
30
-
31
- # ------------------------------------------------------------
32
- # 特殊な設定
33
- is_narou: true
34
- tcode: <li><a href="\\k<top_url>/txtdownload/top/ncode/(?<tcode>\d+?)/" onclick
35
- txtdownload_url: \\k<top_url>/txtdownload/dlstart/ncode/\\k<tcode>/?no=\\k<index>
36
- narou_api_url: https://api.syosetu.com/novel18api/api/
37
-
38
- # ------------------------------------------------------------
39
- # 小説情報からパースするための設定
40
- novel_info_url: \\k<top_url>/novelview/infotop/ncode/\\k<ncode>/
41
-
42
- # タイトル
43
- t: <h1><a href=".+?">(?<title>.+?)</a></h1>
44
-
45
- # novel_type 小説種別
46
- nt: <span id="noveltype(?:.*?)">(?<novel_type>.+?)</span>
47
- novel_type_string:
48
- 連載中: 1
49
- 完結済: 3
50
- 短編: 2
51
-
52
- # general_all_no 掲載話数
53
- ga: </span>全(?<general_all_no>\d+)部
54
-
55
- # story あらすじ
56
- s: <td class="ex">(?<story>.+?)</td>
57
-
58
- # general_firstup 初回掲載日
59
- gf: |-
60
- <th>掲載日</th>
61
- <td>(?<general_firstup>.+?)</td>
62
-
63
- # novelupdated_at 小説の更新時刻。連載小説だと書いてないので最終掲載日で代用
64
- nu: |-
65
- <th>(?:最終更新日|最終話掲載日)</th>
66
- <td>(?:
67
- )?(?<novelupdated_at>.+?)(?:
68
- )?</td>
69
-
70
- # general_lastup 最終話掲載日
71
- gl: |-
72
- <th>最終話掲載日</th>
73
- <td>(?<general_lastup>.+?)</td>
74
-
75
- # writer 作者名
76
- w: |-
77
- <th>作者名</th>
78
- <td>(?:<a href=".+?">)?(?<writer>.+?)(?:</a>)?.?</td>
@@ -1,69 +0,0 @@
1
- # ------------------------------------------------------------
2
- # 小説サイト定義
3
- name: ハーメルン
4
- scheme: https
5
- domain: novel.syosetu.org
6
- top_url: \\k<scheme>://\\k<domain>
7
- url: \\k<top_url>/(?<ncode>\d+)
8
- encoding: UTF-8
9
- confirm_over18: no
10
- append_title_to_folder_name: yes
11
- title_strip_pattern: null
12
- cookie: over18=off
13
-
14
- # ------------------------------------------------------------
15
- # 目次取得設定
16
- toc_url: \\k<top_url>/\\k<ncode>/
17
- subtitles: |-
18
- (?:<tr><td colspan=2><strong>(?<chapter>.+?)</strong></td></tr>)?<tr bgcolor="#.+?" class="bgcolor\d"><td width=60%><span id="(?<index>\d+?)"> </span> <a href=.+? style="text-decoration:none;">(?<subtitle>.+?)</a></td><td><NOBR>(?<subdate>.+?)(?:<span title="(?<subupdate>.+?)改稿">\(<u>改</u>\)</span>)?</NOBR></td></tr>
19
-
20
- href: \\k<index>.html
21
-
22
- error_message: 投稿者が削除、もしくは間違ったアドレスを指定しています|この作品は投稿者によって削除されました|この作品は完全非公開設定です|この小説は非公開設定になっています
23
-
24
- # ------------------------------------------------------------
25
- # 本文取得設定
26
-
27
- body_pattern: |-
28
- <span style="font-size:120%">.+?</span><BR><BR>
29
- (?<body>.+?)
30
- (?:<div id=atogaki><BR><HR><BR>(?<postscript>.+?)</div>)?
31
-
32
- introduction_pattern: <div id=maegaki>(?<introduction>.+)<BR><HR><BR></div>
33
- postscript_pattern: null
34
-
35
- illust_current_url: null
36
- illust_grep_pattern: <a href="(?<src>.+?)" alt="挿絵" name='img'>【挿絵表示】</a>
37
-
38
- # ------------------------------------------------------------
39
- # 小説情報からパースするための設定
40
- novel_info_url: \\k<scheme>://syosetu.org/?mode=ss_detail&nid=\\k<ncode>
41
-
42
- # タイトル
43
- t: タイトル</td><td bgcolor=#FFFFFF><a href=.+?>(?<title>.+?)</a>
44
-
45
- # novel_type 小説種別
46
- nt: 話数</td><td>(?<novel_type>.+?) .+?話</td>
47
- novel_type_string:
48
- 連載(連載中): 1
49
- 連載(未完): 1
50
- 連載(完結): 3
51
- 短編: 2
52
-
53
- # general_all_no 掲載話数
54
- ga: 話数</td><td>.+? (?<general_all_no>\d+)話</td>
55
-
56
- # story あらすじ
57
- s: "あらすじ</td><td colspan=3 bgcolor=#FFFFFF>(?<story>.+?)</td>"
58
-
59
- # general_firstup 初回掲載日
60
- gf: 掲載開始</td><td>(?<general_firstup>.+?)</td>
61
-
62
- # novelupdated_at 小説の更新時刻
63
- nu: null
64
-
65
- # general_lastup 最終掲載日
66
- gl: 最新投稿</td><td>(?<general_lastup>.+?)</td>
67
-
68
- # writer 作者名
69
- w: 作者</td><td bgcolor=\#FFFFFF>(?:<a href=.+?>)?(?<writer>.+?)(?:</a>)?</td>
@@ -1,45 +0,0 @@
1
- # ------------------------------------------------------------
2
- # 小説サイト定義
3
- name: 暁
4
- scheme: https
5
- domain: www.akatsuki-novels.com
6
- top_url: \\k<scheme>://\\k<domain>
7
- url: \\k<top_url>/stories/index/novel_id\~(?<ncode>\d+)
8
- encoding: UTF-8
9
- confirm_over18: no
10
- append_title_to_folder_name: yes
11
- title_strip_pattern: null
12
- cookie: CakeCookie[ALLOWED_ADULT_NOVEL]=on
13
-
14
- # ------------------------------------------------------------
15
- # 書籍情報取得設定
16
- title: id="LookNovel">(?<title>.+?)</a>
17
- author: 作者:<a href="/users/view/\d+">(?<author>.+?)</a>
18
- story: |-
19
- <div class=" body-x1 body-normal body-w\d+">.+?<div>(?<story>.+?)</div>
20
-
21
- # ------------------------------------------------------------
22
- # 目次取得設定
23
- toc_url: \\k<top_url>/stories/index/novel_id~\\k<ncode>
24
- subtitles: |-
25
- (?:<tr><td style="border: 0; padding: 0;word-break:break-all;" colspan=\\"2\\"><b>(?<chapter>.+?)</b></td></tr>)*<tr><td>( )?<a href="(?<href>/stories/view/(?<index>\d+)/novel_id\~\d+)">(?<subtitle>.+?)</a> </td><td class="font-s">(?<subupdate>.+?) </td></tr>
26
-
27
- # subdate(初投稿日)がない場合、一番最初のsubupdateで代用する
28
- subdate: no
29
-
30
- error_message: この小説は作者の諸事情により非公開にしています
31
-
32
- # ------------------------------------------------------------
33
- # 本文取得設定
34
- body_pattern: |-
35
- </h2>(?:<div>&nbsp;</div><div><b>前書き</b></div><div class="body-novel">(?<introduction>.+?)&nbsp;</div><hr width="100%"><div>&nbsp;</div>)?<div class="body-novel">(?<body>.+?)&nbsp;</div>(?:<div>&nbsp;</div><hr width="100%"><div>&nbsp;</div><div><b>後書き</b></div><div class="body-novel">(?<postscript>.+?)&nbsp;</div>)?
36
-
37
- introduction_pattern: null
38
- postscript_pattern: null
39
-
40
- illust_current_url: null
41
- illust_grep_pattern: <img src="(?<src>.+?)" />
42
-
43
- # ------------------------------------------------------------
44
- # 小説情報からパースするための設定
45
- novel_info_url: null