EstrellaXD / Auto_Bangumi

AutoBangumi - 全自动追番工具
https://autobangumi.org
MIT License
6.97k stars 364 forks source link

`\d+-\d`过滤规则未起作用 #789

Open jiaxinonly opened 4 months ago

jiaxinonly commented 4 months ago

确认

当前程序版本

3.1.14

问题类型

程序运行问题

问题描述

默认会添加\d+-\d规则,但是好像没有生效,我订阅了https://mikanime.tv/RSS/MyBangumi?token=dxOGkPugD6LqOCJ0FeP1VN4UbbqrJwpBOsZX%2fNMSk%2bU%3d,会自动使用\d+-\d规则,但是番剧自动补全,对无职转生的这个item好像没有生效

<item>
<guid isPermaLink="false">[沸羊羊制作] 无职转生第二季 / Mushoku Tensei II - 13-15 [CRWebRip 2160p HEVC-10bit AAC][简日内封字幕]</guid>
<link>https://mikanani.me/Home/Episode/fc8da6539429499658331016f0a81a19d4d8108c</link>
<title>[沸羊羊制作] 无职转生第二季 / Mushoku Tensei II - 13-15 [CRWebRip 2160p HEVC-10bit AAC][简日内封字幕]</title>
<description>[沸羊羊制作] 无职转生第二季 / Mushoku Tensei II - 13-15 [CRWebRip 2160p HEVC-10bit AAC][简日内封字幕][8.0 GB]</description>
<torrent xmlns="https://mikanani.me/0.1/">
<link>https://mikanani.me/Home/Episode/fc8da6539429499658331016f0a81a19d4d8108c</link>
<contentLength>8589934592</contentLength>
<pubDate>2024-04-25T01:36:45.213266</pubDate>
</torrent>
<enclosure type="application/x-bittorrent" length="8589934592" url="https://mikanani.me/Download/20240425/fc8da6539429499658331016f0a81a19d4d8108c.torrent"/>
</item>

这个种子含有多集,导致错误,另外请问一下,像我这个订阅15集没有单独的种子,被合在了13-15里面去,我该如何正确处理》单独下载15集到目录里面去吗?

发生问题时系统日志

[2024-06-26 20:10:30] INFO:     Start collecting 无职转生Ⅱ ~到了异世界就拿出真本事~ 第2部分 Season 2...
[2024-06-26 20:10:31] DEBUG:    [Network] Successfully connected to https://mikanime.tv/RSS/Search?searchstr=沸羊羊制作+Mushoku+Tensei+II+第二季+简日内封字幕+CRWebRip+2160p. Status: 200
[2024-06-26 20:10:31] DEBUG:    [Network] Successfully connected to https://mikanime.tv/Download/20240625/8a8b4666d063729a703da8ecdad439856fe89071.torrent. Status: 200
[2024-06-26 20:10:32] DEBUG:    [Network] Successfully connected to https://mikanime.tv/Download/20240619/084ee849cdaec63cdf4a9f784eb572be4674c008.torrent. Status: 200
[2024-06-26 20:10:32] DEBUG:    [Network] Successfully connected to https://mikanime.tv/Download/20240613/1c9e8e127904329c384594449cdfbf2d5d6a1f07.torrent. Status: 200
[2024-06-26 20:10:32] DEBUG:    [Network] Successfully connected to https://mikanime.tv/Download/20240607/2bca8b5ccea4b9b876580a7aa9523b21d5c5c79e.torrent. Status: 200
[2024-06-26 20:10:32] DEBUG:    [Network] Successfully connected to https://mikanime.tv/Download/20240607/10ae2ab6d0b8156a9aa4643cd571675b04acc20f.torrent. Status: 200
[2024-06-26 20:10:32] DEBUG:    [Network] Successfully connected to https://mikanime.tv/Download/20240515/802841551a1addbdf6db1f2f818567afeb851638.torrent. Status: 200
[2024-06-26 20:10:33] DEBUG:    [Network] Successfully connected to https://mikanime.tv/Download/20240508/b312826ce6743228b41f36933d980c6b2a34984a.torrent. Status: 200
[2024-06-26 20:10:33] DEBUG:    [Network] Successfully connected to https://mikanime.tv/Download/20240502/5392be339b0a2fb88a67376294910b2953b5e8f8.torrent. Status: 200
Exception in thread Thread-10 (rss_loop):
Traceback (most recent call last):
  File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/app/module/core/sub_thread.py", line 31, in rss_loop
    eps_complete()
  File "/app/module/manager/collector.py", line 72, in eps_complete
    collector.collect_season(data)
  File "/app/module/manager/collector.py", line 21, in collect_season
    if self.add_torrent(torrents, bangumi):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/module/downloader/download_client.py", line 138, in add_torrent
    if self.client.add_torrents(
       ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/module/downloader/client/qb_downloader.py", line 86, in add_torrents
    resp = self._client.torrents_add(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/qbittorrentapi/decorators.py", line 91, in wrapper
    return func(client, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/qbittorrentapi/torrents.py", line 1306, in torrents_add
    return self._post(
           ^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 390, in _post
    return self._request_manager(
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 465, in _request_manager
    return self._request(
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 542, in _request
    self._handle_error_responses(data, params, response)
  File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 786, in _handle_error_responses
    raise UnsupportedMediaType415Error(response.text)
qbittorrentapi.exceptions.UnsupportedMediaType415Error: 错误:'torrent__4' 不是一个有效的 torrent 文件。
jiaxinonly commented 4 months ago

另外是否考虑添加每个番剧单独设置是否补全,是否重命名呢?比如无职这个字幕组,因为补全失败,导致其他番剧不能补全,我可以关闭这个番剧的补全,从而不影响其他番剧,另外重命名确实很好用,但是某些番剧字幕组从50集开始(目前剧集偏移功能还没有),比如史莱姆的,这样导致无法刮削,手动重新命名后会被自动改回去,关闭自动重命名又会影响到其他的番剧

shininome commented 3 months ago