Sha256: 3c788473d1ab2a55d2cf8878d1cb66b903f37dcac5b8871935384a478247b94a

Contents?: true

Size: 731 Bytes

Versions: 3

Compression:

Stored size: 731 Bytes

Contents

# ------------------------------------------------------------
# なろうAPI用のデータを小説情報からパースするための設定

# novel_type 小説種別
nt: <span id="noveltype(?:.*?)">(?<novel_type>.+?)</span>

# story あらすじ
s: <td class="ex">(?<story>.+?)</td>

# general_firstup 初回掲載日
gf: |-
  <th>掲載日</th>
  <td>(?<general_firstup>.+?)</td>

# novelupdated_at 小説の更新時刻。連載小説だと書いてないので最終掲載日で代用
nu: |-
  <th>(?:最終更新日|最終話掲載日)</th>
  <td>(?:
  )?(?<novelupdated_at>.+?)(?:
  )?</td>

# general_lastup 最終掲載日
gl: |-
  <th>最終話掲載日</th>
  <td>(?<general_lastup>.+?)</td>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
narou-1.4.6 preset/narou_novel_info.yaml
narou-1.4.5 preset/narou_novel_info.yaml
narou-1.4.4 preset/narou_novel_info.yaml