Sha256: 15fb5e211c0f28b314c505c712ce5491f865a5e8ac8e06e21a37f1dcec36e54e
Contents?: true
Size: 1.86 KB
Versions: 9
Compression:
Stored size: 1.86 KB
Contents
# ------------------------------------------------------------ # 小説サイト定義 name: 暁 scheme: http domain: www.akatsuki-novels.com top_url: \\k<scheme>://\\k<domain> url: \\k<top_url>/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 # ------------------------------------------------------------ # 書籍情報取得設定 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
Version data entries
9 entries across 9 versions & 1 rubygems