# ------------------------------------------------------------ # 小説サイト定義 name: 小説家になろう scheme: http domain: ncode.syosetu.com top_url: \\k://\\k url: \\k/(?n\d+[a-z]+) encoding: UTF-8 confirm_over18: no append_title_to_folder_name: yes title_strip_pattern: null # ------------------------------------------------------------ # 書籍情報取得設定 title: (?<title>.+?) author: 作者:(?:)?(?.+?)(?:)?$ story:
(?.+?)
# ------------------------------------------------------------ # 目次取得設定 toc_url: \\k/\\k/ subtitles: |- (?:
(?.+?)
)?
(?.+?)
(?.+?)(?: )?
# ------------------------------------------------------------ # 特殊な設定 is_narou: true tcode:
  • /txtdownload/dlstart/ncode/\\k/?no=\\k narou_api_url: http://api.syosetu.com/novelapi/api/ # ------------------------------------------------------------ # 小説情報からパースするための設定 novel_info_url: \\k/novelview/infotop/ncode/\\k/ # novel_type 小説種別 nt: (?.+?) novel_type_string: 連載中: 1 完結済: 1 短編: 2 # story あらすじ s: (?.+?) # general_firstup 初回掲載日 gf: |- 掲載日 (?.+?) # novelupdated_at 小説の更新時刻。連載小説だと書いてないので最終掲載日で代用 nu: |- (?:最終更新日|最終話掲載日) (?: )?(?.+?)(?: )? # general_lastup 最終掲載日 gl: |- 最終話掲載日 (?.+?) # writer 作者名 w: |- 作者名 (?:)?(?.+?)(?:)?