Sha256: 3e38f93ff1b97b2397d4a452c9562d7595ef44b192d92acb4aed2222b1b2e144
Contents?: true
Size: 1.29 KB
Versions: 22
Compression:
Stored size: 1.29 KB
Contents
# ------------------------------------------------------------ # 小説サイト定義 name: 小説家になろう scheme: http domain: ncode.syosetu.com top_url: \\k<scheme>://\\k<domain> url: \\k<top_url>/(?<ncode>n\d+[a-z]+) encoding: UTF-8 confirm_over18: no # ------------------------------------------------------------ # 書籍情報取得設定 title: <title>(?<title>.+?)</title> author: 作者:(?:<a href="http://mypage.syosetu.com/\d+/">)?(?<author>.+?)(?:</a>)?$ story: <div class="novel_ex">(?<story>.+?)</div> # ------------------------------------------------------------ # 目次取得設定 toc_url: \\k<top_url>/\\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<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/novelapi/api/
Version data entries
22 entries across 22 versions & 1 rubygems