Sha256: cba5462a562e3e7ada84cc80b36e859f11dec3409d663d1c359e71cd5afd79c2

Contents?: true

Size: 1.26 KB

Versions: 2

Compression:

Stored size: 1.26 KB

Contents

# ------------------------------------------------------------
# 小説サイト定義
name: ノクターン・ムーンライト
domain: http://novel18.syosetu.com
url: \\k<domain>/(?<ncode>n\d+[a-z]+)
encoding: UTF-8
confirm_over18: yes

# ------------------------------------------------------------
# 書籍情報取得設定
title: <title>(?<title>.+?)</title>
author: 作者:(?:<a href="http://xmypage.syosetu.com/.+?/">)?(?<author>.+?)(?:</a>)?$
story: <div class="novel_ex">(?<story>.+?)</div>

# ------------------------------------------------------------
# 目次取得設定
toc_url: \\k<domain>/\\k<ncode>/
subtitles: |-
  (?:<tr><td class="chapter" colspan="4">(?<chapter>.+?)</td></tr>
   <tr> 
  )?<td class="(?:long_subtitle|period_subtitle)"><a href="(?<href>/.+?/(?<index>\d+?)/)">(?<subtitle>.+?)</a></td>
  <td class="long_update">
  (?<subdate>.+?)(?:
  <span title="(?<subupdate>.+?) 改稿">
  (<u>改</u>)</span>)?
  </td>
  </tr>

tcode: <li><a href="\\k<domain>/txtdownload/top/ncode/(?<tcode>\d+?)/" onclick
txtdownload_url: \\k<domain>/txtdownload/dlstart/ncode/\\k<tcode>/?no=\\k<index>

# ------------------------------------------------------------
# 特殊な設定
narou_api_url: http://api.syosetu.com/novel18api/api/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
narou-1.1.2.1 webnovel/novel18.syosetu.com.yaml
narou-1.1.2 webnovel/novel18.syosetu.com.yaml