Skip to content

[ERROR] 小説が削除されているか非公開な可能性があります #445

Open

Description

@gitster

2025年3月になってすぐに、今までなろうから問題なくダウンロードしてきたクライアントが他のソフトウェアアップデートなどなしに上記エラーを出すようになりました。サイト側の変更に追従調整が必要なのかもしれません。

Activity

  1. kokotaro commented on Mar 4, 2025

    @kokotaro

    掲示板から転載。以下の2ファイルに対して構造変化を修正することで動作確認済み
    ncode.syosetu.com.yaml
    novel18.syosetu.com.yaml

    # ------------------------------------------------------------
    # 小説情報からパースするための設定
    novel_info_url: \\k<top_url>/novelview/infotop/ncode/\\k<ncode>/
    
    # タイトル
    t: <h1 class="p-infotop-title"><a href=".+?">(?<title>.+?)</a></h1>
    
    # novel_type 小説種別
    nt: <span class="p-infotop-type__type(?:.*?)">(?<novel_type>.+?)</span>
    novel_type_string:
      連載中: 1
      完結済: 3
      短編: 2
    
    # general_all_no 掲載話数
    ga: <span class="p-infotop-type__allep">全(?<general_all_no>\d+)エピソード
    
    # story あらすじ
    s: <dt class="p-infotop-data__title">あらすじ</dt>
      <dd class="p-infotop-data__value">(?<story>.+?)</dd>
    
    # general_firstup 初回掲載日
    gf: |-
      <dt class="p-infotop-data__title">掲載日</dt>
      <dd class="p-infotop-data__value">(?<general_firstup>.+?)</dd>
    
    # novelupdated_at 小説の更新時刻。連載小説だと書いてないので最終掲載日で代用
    nu: |-
      <dt class="p-infotop-data__title">(?:最終更新日|最新掲載日|最終掲載日)</dt>
      <dd class="p-infotop-data__value">(?:
      )?(?<novelupdated_at>.+?)(?:
      )?</dd>
    
    # general_lastup 最終掲載日
    gl: |-
      <dt class="p-infotop-data__title">(?:最新掲載日|最終掲載日)</dt>
      <dd class="p-infotop-data__value">(?<general_lastup>.+?)</dd>
    
    # writer 作者名
    w: |-
      <dt class="p-infotop-data__title">作者名</dt>
      <dd class="p-infotop-data__value">(?:<a href=".+?">)?(?<writer>.+?)(?:</a>)?.?</dd>
    
    # length 文字数
    l: |-
      <dt class="p-infotop-data__title">文字数</dt>
      <dd class="p-infotop-data__value">(?<length>.+?)文字</dd>`
    
  2. etg-lt commented on Mar 4, 2025

    @etg-lt
    Contributor

    小説家になろうのR18系サイト(ノクターン/ムーンライト/ミッドナイトノベルス)
    掲載サイト名の取得部分の対応が
    https://jbbs.shitaraba.net/bbs/read.cgi/computer/44668/1716423212/226-227
    にて追加されたので、それぞれPull requestにまとめました #446

  3. Grinchii commented on Mar 5, 2025

    @Grinchii

    etg-ltのfixを使ってみたが、WEBで掲載サイトにちょっとしたbugがあります。

    Image
  4. etg-lt commented on Mar 6, 2025

    @etg-lt
    Contributor

    同一と思われる作品をDLテスト
    正常に表示される事を確認しました
    Image

    どのような条件か分からないのですが
    旧 novel18.syosetu.com.yaml で
    database.yaml の sitename: に
    正しくない値が書き込まれた可能性があります

    database.yaml を編集して、小説データ フォルダ内のサイト名通りに書き換える必要があります
    sitename: ノクターンノベルズ
    Image

    追記
    novel18.syosetu.com.yaml の修正には14-16行目の、掲載サイト名の取得修正があるので
    念の為に確認して下さい

    sitename: |-
    <dt class="p-infotop-data__title">掲載サイト</dt>
    <dd class="p-infotop-data__value">(?<sitename>.+?)\(.+\)</dd>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions