forked from whiteleaf7/narou
-
Notifications
You must be signed in to change notification settings - Fork 0
/
www.akatsuki-novels.com.yaml
46 lines (38 loc) · 1.92 KB
/
www.akatsuki-novels.com.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# ------------------------------------------------------------
# 小説サイト定義
name: &name 暁
domain: www.akatsuki-novels.com
top_url: https://\\k<domain>
url: https?://\\k<domain>/stories/index/novel_id\~(?<ncode>\d+)
encoding: UTF-8
confirm_over18: no
append_title_to_folder_name: yes
title_strip_pattern: null
cookie: CakeCookie[ALLOWED_ADULT_NOVEL]=on
sitename: *name
version: 1.0
# ------------------------------------------------------------
# 書籍情報取得設定
title: id="LookNovel">(?<title>.+?)</a>
author: 作者:<a href="/users/view/\d+">(?<author>.+?)</a>
story: |-
<div class=" body-x1 body-normal body-w\d+">.+?<div>(?<story>.+?)</div>
# ------------------------------------------------------------
# 目次取得設定
toc_url: \\k<top_url>/stories/index/novel_id~\\k<ncode>
subtitles: |-
(?:<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>
# subdate(初投稿日)がない場合、一番最初のsubupdateで代用する
subdate: no
error_message: この作品は作者の諸事情により非公開にしています
# ------------------------------------------------------------
# 本文取得設定
body_pattern: |-
</h2>(?:<div> </div><div><b>前書き</b></div><div class="body-novel">(?<introduction>.+?) </div><hr width="100%"><div> </div>)?<div class="body-novel">(?<body>.+?) </div>(?:<div> </div><hr width="100%"><div> </div><div><b>後書き</b></div><div class="body-novel">(?<postscript>.+?) </div>)?
introduction_pattern: null
postscript_pattern: null
illust_current_url: null
illust_grep_pattern: <img src="(?<src>.+?)" />
# ------------------------------------------------------------
# 小説情報からパースするための設定
novel_info_url: null