Sha256: 7c713b2da45f570f391ed268736755fd25ad0976c8e8b662d1c39d3c2dddac92

Contents?: true

Size: 1.4 KB

Versions: 3

Compression:

Stored size: 1.4 KB

Contents

# ------------------------------------------------------------
# 小説サイト定義
name: ノクターン・ムーンライト
scheme: http
domain: novel18.syosetu.com
top_url: \\k<scheme>://\\k<domain>
url: \\k<top_url>/(?<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 id="novel_ex">(?<story>.+?)</div>

# ------------------------------------------------------------
# 目次取得設定
toc_url: \\k<top_url>/\\k<ncode>/
subtitles: |-
  (?:<div class="chapter_title">(?<chapter>.+?)</div>
   
  )?<dl class="novel_sublist2" onclick="javascript:location.href='(?<href>/.+?/(?<index>\d+?)/)'">
  <dd class="subtitle"><a href=".+?">(?<subtitle>.+?)</a></dd>
  <dt class="long_update">
  (?<subdate>.+?)(?:
  <span title="(?<subupdate>.+?) 改稿">
  (<u>改</u>)</span>)?
  </dt>
  </dl>

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

# ------------------------------------------------------------
# 特殊な設定
narou_api_url: http://api.syosetu.com/novel18api/api/
narou_info_url: \\k<top_url>/novelview/infotop/ncode/\\k<ncode>/

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
narou-1.4.6 webnovel/novel18.syosetu.com.yaml
narou-1.4.5 webnovel/novel18.syosetu.com.yaml
narou-1.4.4 webnovel/novel18.syosetu.com.yaml