Giter Club home page Giter Club logo

auto_bangumi's Introduction

Hi there 👋

Anurag's GitHub stats

auto_bangumi's People

Contributors

100gle avatar 3verness avatar bluefissure avatar ddsderek avatar ddsrem avatar estrellaxd avatar findix avatar geeksun2018 avatar greenhat616 avatar hellsakura avatar hoshinotouko avatar jue0115 avatar karuboniru avatar kasper4649 avatar kuroicc avatar lywly avatar maikirakiwi avatar nchyn avatar nullying avatar rankki avatar residualblood avatar rewrite0 avatar shininome avatar silicer avatar tioachan avatar trim21 avatar umbors avatar windsoldier76 avatar zhangtianrong avatar zthxxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

auto_bangumi's Issues

希望修复历史追番逻辑

版本2.4.9
问题描述:
在开启历史追番的情况下,因为没有在mikan取消追番(mikan取消追番真的麻烦......),删除已观看完毕的番剧,bangumi会在下次扫描中重新下载番剧。

match error

ERROR Not match with [动漫萌][4月新番][Spy X Family ][BIG5][03][1080P]

ERROR Not match with 【极影字幕社】 ★4月新番 【SPY×FAMILY 间谍家家酒】【SPY×FAMILY】【04】BIG5 MP4_720P

ERROR Not match with 【极影字幕社】 ★4月新番 【SPY×FAMILY 间谍家家酒】【SPY×FAMILY】【04】BIG5 MP4_1080P

ERROR Not match with 【极影字幕社】 ★4月新番 【间谍过家家】【SPY×FAMILY】【04】GB MP4_720P

ERROR Not match with 【极影字幕社】 ★4月新番 【间谍过家家】【SPY×FAMILY】【04】GB MP4_1080P

ERROR Not match with 【极影字幕社】 ★4月新番 【SPY×FAMILY 间谍家家酒】【SPY×FAMILY】【03】BIG5 MP4_720P

ERROR Not match with 【极影字幕社】 ★4月新番 【SPY×FAMILY 间谍家家酒】【SPY×FAMILY】【03】BIG5 MP4_1080P

ERROR Not match with 【极影字幕社】 ★4月新番 【间谍过家家】【SPY×FAMILY】【03】GB MP4_720P

ERROR Not match with 【极影字幕社】 ★4月新番 【间谍过家家】【SPY×FAMILY】【03】GB MP4_1080P

[讨论] 自行解析RSS + rpc 分发给客户端下载

嗯.. 我可怜的小树莓派因为是 32 位系统,没法用 qbittorrent,(不知道是不是我姿势不对)

想了下,完全可以自己处理 rss 的解析,然后调用客户端的 api 去下载内容,从而达到支持不同下载器的需求(aria2, transmission, etc.)

但看之前的讨论,似乎不在 roadmap 中。

如果可以的话,我可以做这方面,

目前能想到的一些优化和问题

  • qbittorrent 和 aria2 似乎都支持事件派发, 在下载完整后可以直接触发事件
  • 重命名之后是否需要,或者说是否支持保种。因为名字和位置都被改了.... (如果不需要保种,那就不是问题)

[问题]特殊解析器错误

抱歉,我来报告一个比较特殊的情况
image
这个剧集,字幕组推出了两个版本,但是解析器认为是两个文件

是生成了两个规则吗?有具体生成规则的 LOG 或者使用 API 访问一下 host:7892/api/v1/data 提供一下具体数据

是的,没有 log,不知道为什么我无法访问 api ,api 拒绝我的连接

需要在 Docker 中映射出端口号

查看 api data 没有这个数据,被清除了

Originally posted by @foxlesbiao in #41 (comment)

未知错误,追番失效【2.4.11】

环境:群晖 docker
版本2.4.11
环境变量
截图_20220614095743
time改600s方便测试
截图_20220614100202

2022-06-14 10:08:31 INFO: Finished rename process.
2022-06-14 10:08:31 INFO: Renamed 0 files.
2022-06-14 10:08:31 INFO: Finished checking 38 files' name.
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mp4
2022-06-14 10:08:31 DEBUG: New name: Shin Ikki Tousen E01.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Shin Ikki Tousen E01.mp4
2022-06-14 10:08:31 DEBUG: New name: Shin Ikki Tousen E02.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Shin Ikki Tousen E02.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mp4
2022-06-14 10:08:31 DEBUG: New name: Love Death and Robots S03 E02.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Love Death and Robots S03 E02.mp4
2022-06-14 10:08:31 DEBUG: New name: Love Death and Robots S03 E04.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Love Death and Robots S03 E04.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mp4
2022-06-14 10:08:31 DEBUG: New name: Love Death and Robots S03 E07.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Love Death and Robots S03 E07.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mp4
2022-06-14 10:08:31 DEBUG: New name: Love Death and Robots S03 E05.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Love Death and Robots S03 E05.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mp4
2022-06-14 10:08:31 DEBUG: New name: Shin Ikki Tousen E03.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Shin Ikki Tousen E03.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mkv
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mkv
2022-06-14 10:08:31 DEBUG: New name: Shin Ikki Tousen E03.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Shin Ikki Tousen E03.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mkv
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mkv
2022-06-14 10:08:31 DEBUG: New name: Love Death and Robots S03 E01.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Love Death and Robots S03 E01.mp4
2022-06-14 10:08:31 DEBUG: New name: Love Death and Robots S03 E06.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Love Death and Robots S03 E06.mp4
2022-06-14 10:08:31 DEBUG: New name: Shin Ikki Tousen E01.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Shin Ikki Tousen E01.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mkv
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mkv
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mkv
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mkv
2022-06-14 10:08:31 DEBUG: New name: Love Death and Robots S03 E03.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Love Death and Robots S03 E03.mp4
2022-06-14 10:08:31 DEBUG: New name: Love Death and Robots S03 E09.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Love Death and Robots S03 E09.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mkv
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mkv
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mkv
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mkv
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mkv
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mkv
2022-06-14 10:08:31 DEBUG: New name: Love Death and Robots S03 E08.mp4
2022-06-14 10:08:31 DEBUG: Origin name: Love Death and Robots S03 E08.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mp4
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mp4
2022-06-14 10:08:31 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mkv
2022-06-14 10:08:31 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mkv
2022-06-14 10:08:31 DEBUG: http://localhost:30006 "POST /api/v2/torrents/info HTTP/1.1" 200 31803
2022-06-14 10:08:30 DEBUG: Resetting dropped connection: localhost
2022-06-14 10:08:30 INFO: Finished.
2022-06-14 10:08:30 INFO: Start adding rules.
2022-06-14 10:08:30 INFO: Start collecting past episodes.
2022-06-14 10:08:30 DEBUG: https://mikanani.me:443 "GET /RSS/MyBangumi?token=kO%2FPFoesMxAlf5rGiIHyckcgxkzeNIZIQw4el2kWMDQ%3D&utf-8 HTTP/1.1" 520 None
2022-06-14 10:08:30 DEBUG: Starting new HTTPS connection (1): mikanani.me:443
UnboundLocalError: local variable 'req' referenced before assignment
    rss = BeautifulSoup(req.text, "xml")
  File "/auto_bangumi/core/rss_collector.py", line 23, in collect
    rss_collector.collect(bangumi_data)
  File "/auto_bangumi/app.py", line 80, in run
Traceback (most recent call last):
2022-06-14 10:08:30 ERROR: local variable 'req' referenced before assignment
2022-06-14 10:08:30 ERROR: ERROR with DNS/Connection.
requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ChunkedEncodingError(e)
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 763, in generate
    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 838, in content
    r.content
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 687, in send
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 75, in get
    req = requests.get(settings.rss_link, "utf-8")
  File "/auto_bangumi/core/rss_collector.py", line 19, in collect
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.ProtocolError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ProtocolError("Connection broken: %r" % e, e)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 458, in _error_catcher
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
    with self._error_catcher():
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 755, in read_chunked
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 575, in stream
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 760, in generate
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.InvalidChunkLength: InvalidChunkLength(got length b'', 0 bytes read)
    raise InvalidChunkLength(self, line)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 704, in _update_chunk_length
    self._update_chunk_length()
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 767, in read_chunked
    yield
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 441, in _error_catcher
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

ValueError: invalid literal for int() with base 16: b''
    self.chunk_left = int(line, 16)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 700, in _update_chunk_length
Traceback (most recent call last):
2022-06-14 10:08:30 ERROR: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
2022-06-14 10:08:29 DEBUG: https://mikanani.me:443 "GET /RSS/MyBangumi?token=kO%2FPFoesMxAlf5rGiIHyckcgxkzeNIZIQw4el2kWMDQ%3D&utf-8 HTTP/1.1" 200 None
2022-06-14 10:08:28 DEBUG: Starting new HTTPS connection (1): mikanani.me:443
2022-06-14 09:58:28 INFO: Finished rename process.
2022-06-14 09:58:28 INFO: Renamed 0 files.
2022-06-14 09:58:28 INFO: Finished checking 38 files' name.
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mp4
2022-06-14 09:58:28 DEBUG: New name: Shin Ikki Tousen E01.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Shin Ikki Tousen E01.mp4
2022-06-14 09:58:28 DEBUG: New name: Shin Ikki Tousen E02.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Shin Ikki Tousen E02.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mp4
2022-06-14 09:58:28 DEBUG: New name: Love Death and Robots S03 E02.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Love Death and Robots S03 E02.mp4
2022-06-14 09:58:28 DEBUG: New name: Love Death and Robots S03 E04.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Love Death and Robots S03 E04.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mp4
2022-06-14 09:58:28 DEBUG: New name: Love Death and Robots S03 E07.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Love Death and Robots S03 E07.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mp4
2022-06-14 09:58:28 DEBUG: New name: Love Death and Robots S03 E05.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Love Death and Robots S03 E05.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mp4
2022-06-14 09:58:28 DEBUG: New name: Shin Ikki Tousen E03.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Shin Ikki Tousen E03.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mkv
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mkv
2022-06-14 09:58:28 DEBUG: New name: Shin Ikki Tousen E03.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Shin Ikki Tousen E03.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mkv
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mkv
2022-06-14 09:58:28 DEBUG: New name: Love Death and Robots S03 E01.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Love Death and Robots S03 E01.mp4
2022-06-14 09:58:28 DEBUG: New name: Love Death and Robots S03 E06.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Love Death and Robots S03 E06.mp4
2022-06-14 09:58:28 DEBUG: New name: Shin Ikki Tousen E01.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Shin Ikki Tousen E01.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mkv
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mkv
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mkv
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E04.mkv
2022-06-14 09:58:28 DEBUG: New name: Love Death and Robots S03 E03.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Love Death and Robots S03 E03.mp4
2022-06-14 09:58:28 DEBUG: New name: Love Death and Robots S03 E09.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Love Death and Robots S03 E09.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E07.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E02.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mkv
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mkv
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mkv
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E05.mkv
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mkv
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E03.mkv
2022-06-14 09:58:28 DEBUG: New name: Love Death and Robots S03 E08.mp4
2022-06-14 09:58:28 DEBUG: Origin name: Love Death and Robots S03 E08.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E06.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E08.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mp4
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mp4
2022-06-14 09:58:28 DEBUG: New name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mkv
2022-06-14 09:58:28 DEBUG: Origin name: 3 Byou Go, Yajuu. Goukon de Sumi ni Ita Kare wa Midara na Nikushoku Deshita E01.mkv
2022-06-14 09:58:28 DEBUG: http://localhost:30006 "POST /api/v2/torrents/info HTTP/1.1" 200 31803
2022-06-14 09:58:28 DEBUG: Resetting dropped connection: localhost
2022-06-14 09:58:28 INFO: Finished.
2022-06-14 09:58:28 INFO: Start adding rules.
2022-06-14 09:58:28 INFO: Start collecting past episodes.
2022-06-14 09:58:28 DEBUG: https://mikanani.me:443 "GET /RSS/MyBangumi?token=kO%2FPFoesMxAlf5rGiIHyckcgxkzeNIZIQw4el2kWMDQ%3D&utf-8 HTTP/1.1" 520 None
2022-06-14 09:58:27 DEBUG: Starting new HTTPS connection (1): mikanani.me:443
UnboundLocalError: local variable 'req' referenced before assignment
    rss = BeautifulSoup(req.text, "xml")
  File "/auto_bangumi/core/rss_collector.py", line 23, in collect
    rss_collector.collect(bangumi_data)
  File "/auto_bangumi/app.py", line 80, in run
Traceback (most recent call last):
2022-06-14 09:58:27 ERROR: local variable 'req' referenced before assignment
2022-06-14 09:58:27 ERROR: ERROR with DNS/Connection.
requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ChunkedEncodingError(e)
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 763, in generate
    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 838, in content
    r.content
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 687, in send
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 75, in get
    req = requests.get(settings.rss_link, "utf-8")
  File "/auto_bangumi/core/rss_collector.py", line 19, in collect
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.ProtocolError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ProtocolError("Connection broken: %r" % e, e)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 458, in _error_catcher
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
    with self._error_catcher():
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 755, in read_chunked
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 575, in stream
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 760, in generate
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.InvalidChunkLength: InvalidChunkLength(got length b'', 0 bytes read)
    raise InvalidChunkLength(self, line)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 704, in _update_chunk_length
    self._update_chunk_length()
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 767, in read_chunked
    yield
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 441, in _error_catcher
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

ValueError: invalid literal for int() with base 16: b''
    self.chunk_left = int(line, 16)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 700, in _update_chunk_length
Traceback (most recent call last):
2022-06-14 09:58:27 ERROR: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
2022-06-14 09:58:26 DEBUG: https://mikanani.me:443 "GET /RSS/MyBangumi?token=kO%2FPFoesMxAlf5rGiIHyckcgxkzeNIZIQw4el2kWMDQ%3D&utf-8 HTTP/1.1" 200 None
2022-06-14 09:58:26 DEBUG: Starting new HTTPS connection (1): mikanani.me:443
UnboundLocalError: local variable 'req' referenced before assignment
    rss = BeautifulSoup(req.text, "xml")
  File "/auto_bangumi/core/rss_collector.py", line 23, in collect
    rss_collector.collect(bangumi_data)
  File "/auto_bangumi/app.py", line 80, in run
Traceback (most recent call last):
2022-06-14 09:58:26 ERROR: local variable 'req' referenced before assignment
2022-06-14 09:58:26 ERROR: ERROR with DNS/Connection.
requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ChunkedEncodingError(e)
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 763, in generate
    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 838, in content
    r.content
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 687, in send
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 75, in get
    req = requests.get(settings.rss_link, "utf-8")
  File "/auto_bangumi/core/rss_collector.py", line 19, in collect
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.ProtocolError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ProtocolError("Connection broken: %r" % e, e)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 458, in _error_catcher
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
    with self._error_catcher():
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 755, in read_chunked
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 575, in stream
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 760, in generate
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.InvalidChunkLength: InvalidChunkLength(got length b'', 0 bytes read)
    raise InvalidChunkLength(self, line)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 704, in _update_chunk_length
    self._update_chunk_length()
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 767, in read_chunked
    yield
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 441, in _error_catcher
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

ValueError: invalid literal for int() with base 16: b''
    self.chunk_left = int(line, 16)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 700, in _update_chunk_length
Traceback (most recent call last):
2022-06-14 09:58:26 ERROR: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
2022-06-14 09:58:25 DEBUG: https://mikanani.me:443 "GET /RSS/MyBangumi?token=kO%2FPFoesMxAlf5rGiIHyckcgxkzeNIZIQw4el2kWMDQ%3D&utf-8 HTTP/1.1" 200 None
2022-06-14 09:58:24 DEBUG: Starting new HTTPS connection (1): mikanani.me:443
UnboundLocalError: local variable 'req' referenced before assignment
    rss = BeautifulSoup(req.text, "xml")
  File "/auto_bangumi/core/rss_collector.py", line 23, in collect
    rss_collector.collect(bangumi_data)
  File "/auto_bangumi/app.py", line 80, in run
Traceback (most recent call last):
2022-06-14 09:58:24 ERROR: local variable 'req' referenced before assignment
2022-06-14 09:58:24 ERROR: ERROR with DNS/Connection.
requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ChunkedEncodingError(e)
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 763, in generate
    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 838, in content
    r.content
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 687, in send
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 75, in get
    req = requests.get(settings.rss_link, "utf-8")
  File "/auto_bangumi/core/rss_collector.py", line 19, in collect
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.ProtocolError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ProtocolError("Connection broken: %r" % e, e)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 458, in _error_catcher
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
    with self._error_catcher():
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 755, in read_chunked
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 575, in stream
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 760, in generate
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.InvalidChunkLength: InvalidChunkLength(got length b'', 0 bytes read)
    raise InvalidChunkLength(self, line)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 704, in _update_chunk_length
    self._update_chunk_length()
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 767, in read_chunked
    yield
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 441, in _error_catcher
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

ValueError: invalid literal for int() with base 16: b''
    self.chunk_left = int(line, 16)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 700, in _update_chunk_length
Traceback (most recent call last):
2022-06-14 09:58:24 ERROR: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
2022-06-14 09:58:23 DEBUG: https://mikanani.me:443 "GET /RSS/MyBangumi?token=kO%2FPFoesMxAlf5rGiIHyckcgxkzeNIZIQw4el2kWMDQ%3D&utf-8 HTTP/1.1" 200 None
2022-06-14 09:58:23 DEBUG: Starting new HTTPS connection (1): mikanani.me:443
UnboundLocalError: local variable 'req' referenced before assignment
    rss = BeautifulSoup(req.text, "xml")
  File "/auto_bangumi/core/rss_collector.py", line 23, in collect
    rss_collector.collect(bangumi_data)
  File "/auto_bangumi/app.py", line 80, in run
Traceback (most recent call last):
2022-06-14 09:58:23 ERROR: local variable 'req' referenced before assignment
2022-06-14 09:58:23 ERROR: ERROR with DNS/Connection.
requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ChunkedEncodingError(e)
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 763, in generate
    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 838, in content
    r.content
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 687, in send
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 75, in get
    req = requests.get(settings.rss_link, "utf-8")
  File "/auto_bangumi/core/rss_collector.py", line 19, in collect
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.ProtocolError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ProtocolError("Connection broken: %r" % e, e)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 458, in _error_catcher
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
    with self._error_catcher():
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 755, in read_chunked
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 575, in stream
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 760, in generate
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.InvalidChunkLength: InvalidChunkLength(got length b'', 0 bytes read)
    raise InvalidChunkLength(self, line)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 704, in _update_chunk_length
    self._update_chunk_length()
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 767, in read_chunked
    yield
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 441, in _error_catcher
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

ValueError: invalid literal for int() with base 16: b''
    self.chunk_left = int(line, 16)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 700, in _update_chunk_length
Traceback (most recent call last):
2022-06-14 09:58:23 ERROR: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
2022-06-14 09:58:22 DEBUG: https://mikanani.me:443 "GET /RSS/MyBangumi?token=kO%2FPFoesMxAlf5rGiIHyckcgxkzeNIZIQw4el2kWMDQ%3D&utf-8 HTTP/1.1" 200 None
2022-06-14 09:58:21 DEBUG: Starting new HTTPS connection (1): mikanani.me:443
UnboundLocalError: local variable 'req' referenced before assignment
    rss = BeautifulSoup(req.text, "xml")
  File "/auto_bangumi/core/rss_collector.py", line 23, in collect
    rss_collector.collect(bangumi_data)
  File "/auto_bangumi/app.py", line 80, in run
Traceback (most recent call last):
2022-06-14 09:58:21 ERROR: local variable 'req' referenced before assignment
2022-06-14 09:58:21 ERROR: ERROR with DNS/Connection.
requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ChunkedEncodingError(e)
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 763, in generate
    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 838, in content
    r.content
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 687, in send
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 75, in get
    req = requests.get(settings.rss_link, "utf-8")
  File "/auto_bangumi/core/rss_collector.py", line 19, in collect
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.ProtocolError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
    raise ProtocolError("Connection broken: %r" % e, e)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 458, in _error_catcher
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
    with self._error_catcher():
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 755, in read_chunked
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 575, in stream
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 760, in generate
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

urllib3.exceptions.InvalidChunkLength: InvalidChunkLength(got length b'', 0 bytes read)
    raise InvalidChunkLength(self, line)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 704, in _update_chunk_length
    self._update_chunk_length()
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 767, in read_chunked
    yield
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 441, in _error_catcher
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

ValueError: invalid literal for int() with base 16: b''
    self.chunk_left = int(line, 16)
  File "/usr/local/lib/python3.10/site-packages/urllib3/response.py", line 700, in _update_chunk_length
Traceback (most recent call last):
2022-06-14 09:58:21 ERROR: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
2022-06-14 09:58:20 DEBUG: https://mikanani.me:443 "GET /RSS/MyBangumi?token=kO%2FPFoesMxAlf5rGiIHyckcgxkzeNIZIQw4el2kWMDQ%3D&utf-8 HTTP/1.1" 200 None
2022-06-14 09:58:19 DEBUG: Starting new HTTPS connection (1): mikanani.me:443
2022-06-14 09:58:19 INFO: Add RSS Feed successfully.
2022-06-14 09:58:19 DEBUG: http://localhost:30006 "POST /api/v2/rss/addFeed HTTP/1.1" 200 0
2022-06-14 09:58:19 DEBUG: http://localhost:30006 "POST /api/v2/rss/removeItem HTTP/1.1" 200 0
2022-06-14 09:58:19 DEBUG: http://localhost:30006 "POST /api/v2/app/setPreferences HTTP/1.1" 200 0
2022-06-14 09:58:19 DEBUG: SID: UCbQLDiwCpnpXGrbFxWJWWKdrgphYcKN
2022-06-14 09:58:19 DEBUG: Login successful
2022-06-14 09:58:19 DEBUG: http://localhost:30006 "POST /api/v2/auth/login HTTP/1.1" 200 3
2022-06-14 09:58:19 DEBUG: Starting new HTTP connection (1): localhost:30006
2022-06-14 09:58:19 DEBUG: Base URL: http://localhost:30006/
2022-06-14 09:58:19 DEBUG: Using HTTP scheme
2022-06-14 09:58:19 DEBUG: http://localhost:30006 "HEAD / HTTP/1.1" 200 0
2022-06-14 09:58:19 DEBUG: Starting new HTTP connection (1): localhost:30006
2022-06-14 09:58:19 DEBUG: Detecting scheme for URL...
2022-06-14 09:58:19 DEBUG: Parsed user URL: ParseResult(scheme='', netloc='localhost:30006', path='', params='', query='', fragment='')
2022-06-14 09:58:19 DEBUG: Re-initializing context...
2022-06-14 09:58:19 DEBUG: Re-initializing context...
2022-06-14 09:58:16 INFO: Starting AutoBangumi...
2022-06-14 09:58:16 INFO: GitHub: https://github.com/EstrellaXD/Auto_Bangumi/
2022-06-14 09:58:16 INFO: Version 2.4.11  Author: EstrellaXD Twitter: https://twitter.com/Estrella_Pan
2022-06-14 09:58:16 INFO:                                            |___/                   
2022-06-14 09:58:16 INFO:                                             __/ |                  
2022-06-14 09:58:16 INFO:  /_/    \_\__,_|\__\___/|____/ \__,_|_| |_|\__, |\__,_|_| |_| |_|_|
2022-06-14 09:58:16 INFO:   / ____ \ |_| | || (_) | |_) | (_| | | | | (_| | |_| | | | | | | |
2022-06-14 09:58:16 INFO:    / /\ \| | | | __/ _ \|  _ < / _` | '_ \ / _` | | | | '_ ` _ \| |
2022-06-14 09:58:16 INFO:     /  \  _   _| |_ ___ | |_) | __ _ _ __   __ _ _   _ _ __ ___  _ 
2022-06-14 09:58:16 INFO:      /\        | |      |  _ \                                  (_)
2022-06-14 09:58:16 INFO:                 _        ____                                    _ 

bug反馈 番名含特殊字符

环境:arm64(树莓派4b)
ab版本:V2.2.8
qb版本:4.4.1

部分番名含特殊字符而导致创建文件夹失败
如:
Boruto: Naruto Next Generations 的【: 】
Komi-san wa, Komyushou Desu. 的【.】

有关下载规则全局黑名单关键词缺点

比如喵萌不同番剧会提供各种版本
繁体(内嵌) 简体(内嵌) 简繁内封 等
我想要优先下载"简繁内封"但不是每一部番都有提供内封,没有内封才下载"简体"或者"繁体"(内嵌)
这样如果在AB_NOT_COTAIN加入"简体"或者"繁体"的话会导致没内封的番完全没法匹配
如何避免有提供内封的番同时下载到简繁内封和内嵌,又能在没内封的番下载简体/繁体内嵌版本?

[Feature Request]希望添加订阅番剧的全集下载功能

Is your feature request related to a problem? Please describe.

当前的功能在番剧已经更新到中途时,点击订阅后,只会自动下载这周更新的内容,比如更新到第三集就只会下载第三集

Describe the solution you'd like

追番的时候往往会发生看到某个地方却忘记了上一集的内容,需要回去看的情况。
或者虽然看完了,但是想要从第一集重温的情况。
现阶段如果是点击订阅前更新的剧集就无法查看,而途中开始追番也是很常见的操作,
所以希望提供订阅的番剧直接从当前季的第一集下载到最新一集的功能

[BUG]2.5.20版本RSS xml解析问题

新版本2.5.20的docker支持armv7,可以部署了,感谢
解析蜜柑RSS时日志显示
Couldn't find a tree builder with the features you requested: xml. Do you need to install a parser library?
无法解析RSS内容,直接在docker内运行pip install lxml无法安装lxml
后来运行apt-get install libxml2-dev apt-get install libxslt1-dev apt-get install libz-dev apt-get install gcc后安装lxml成功,之后RSS就可以正常解析了

[Feature Request]希望新增打包一个armv8的docker

古董外贸盒子,coreelec系统,使用以下指令安装auto_bangumi
docker pull estrellaxd/auto_bangumi
安装失败,提示信息如下
no matching manifest for linux/arm/v8 in the manifest list entries

希望下个版本能打包个armv8版的,感谢

[BUG]

TypeError: object of type 'NoneType' has no len()
报错
log截图
image

希望作者大佬下个版本增加开启TMDB选项后,按照TMDB名字格式,带上年份,修改文件夹名字的功能

./
├── 测不准的阿波连同学 (2022)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 处刑少女的生存之道 (2022)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── landscape.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 创之界限 (2021)
│   ├── fanart.jpg
│   ├── landscape.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   ├── Season 02
│   ├── season02-poster.jpg
│   └── tvshow.nfo
├── 骸骨骑士大人异世界冒险中 (2022)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── landscape.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 黑岩射手:黎明降临 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 欢迎来到实力至上主义的教室 (2017)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 02
│   ├── season02-poster.jpg
│   └── tvshow.nfo
├── 辉夜大小姐想让我告白:天才们的恋爱头脑战 (2019)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── landscape.jpg
│   ├── poster.jpg
│   ├── Season 03
│   ├── season03-poster.jpg
│   └── tvshow.nfo
├── 继母的拖油瓶是我的前女友 (2022)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 间谍过家家 (2022)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── landscape.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 街角魔族 (2019)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── landscape.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   ├── Season 02
│   ├── season02-poster.jpg
│   └── tvshow.nfo
├── 金装的维尔梅 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 来自深渊 (2017)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 02
│   ├── season02-poster.jpg
│   └── tvshow.nfo
├── 理科生坠入情网,故尝试证明。 (2020)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   ├── Season 02
│   ├── season02-poster.jpg
│   └── tvshow.nfo
├── 联盟空军航空魔法音乐队 光辉魔女 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 恋爱游戏世界对路人角色很不友好 (2022)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 魔法使黎明期 (2022)
│   ├── fanart.jpg
│   ├── landscape.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 派对浪客诸葛孔明 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 平凡职业造就世界最强 (2019)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── landscape.jpg
│   ├── poster.jpg
│   ├── Season 00
│   ├── Season 01
│   ├── season01-poster.jpg
│   ├── Season 02
│   ├── season02-poster.jpg
│   ├── season-specials-poster.jpg
│   └── tvshow.nfo
├── 蔷薇王的葬列 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   └── tvshow.nfo
├── 社畜小姐想被幽灵幼女治愈 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 式守同学不只可爱而已 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 相合之物 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 邪神与厨二病少女 (2018)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 03
│   ├── season03-poster.jpg
│   └── tvshow.nfo
├── 新·东京猫猫 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 异世界归来的舅舅 (2022)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 勇者辞职不干了 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   └── tvshow.nfo
├── 约会大作战 (2013)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── landscape.jpg
│   ├── poster.jpg
│   ├── Season 04
│   ├── season04-poster.jpg
│   └── tvshow.nfo
├── 在异世界迷宫开后宫 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 绽放的阿尔斯诺特利亚 (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 这个医师超麻烦 (2022)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 指名! (2022)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── landscape.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── 转生贤者的异世界生活~获得第二职业并成为世界最强~ (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   └── tvshow.nfo
├── Estab Life: Great Escape (2022)
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   └── tvshow.nfo
├── LoveLive! 虹咲学园学园偶像同好会 (2020)
│   ├── clearlogo.png
│   ├── fanart.jpg
│   ├── poster.jpg
│   ├── Season 01
│   ├── season01-poster.jpg
│   ├── Season 02
│   ├── season02-poster.jpg
│   └── tvshow.nfo
└── RPG不动产 (2022)
├── clearlogo.png
├── fanart.jpg
├── poster.jpg
├── Season 01
├── season01-poster.jpg
└── tvshow.nfo

大致类似于这种目录结构,因为极少情况下,TMDB上有完全一样名字的剧集或者电影,只能靠年份来区分
这个问题是群里提过,issues发一下作为提醒

bug反馈 扩展名 .!qB

环境:arm64(树莓派4b)
ab版本:V2.2.8
qb版本:4.4.1

当qb设置(下载/为不完整的文件添加扩展名 .!qB)启用时,通过ab建立的所用qb下载任务均错误

有没有办法自定义重命名的格式

首先,感谢这个项目解放我的双手
但是现在的重命名规则似乎是定死的:

Bangumi
├── bangumi_A_title
│   ├── SO1
│   │   ├── A E01.mp4
│   │   ├── A E02.mp4
│   │   ├── A E03.mp4
│   │   └── A E04.mp4
.............

我现在用的是 jellyfin作为流媒体,虽然某种程度上这样的命名规则也被能识别,但由于命名的差异性似乎在个别番剧季度识别上存在点问题。现在的版本有方法能让我修改 或是自定义season 或者 episode 的命名格式吗? 比如讲SO1 ==> Season 01, A E01.mp4 ==> A S01E01.mp4.

部分带SP/总集篇的番剧报错(如杜鹃的婚约、式守同学)

2022-06-19 14:49:45 WARNING: ERROR match [NC-Raws] 式守同学不只可爱而已 / Kawaii dake ja Nai Shikimori-san - 8.5 (Baha 1920x1080 AVC AAC MP4)
2022-06-19 14:49:45 WARNING: ERROR match [NC-Raws] 式守同学不只可爱而已 / Kawaii dake ja Nai Shikimori-san - SP2 (B-Global 1920x1080 HEVC AAC MKV)

2022-06-19 14:49:45 WARNING: [NC-Raws] 式守同学不只可爱而已 - SP2 (B-Global 1920x1080 HEVC AAC MKV) [B4A3C1BF].mkv rename failed

[问题]下载后意外删除种子

昨天晚上抓的几集新片下完后消失了( 我确定, 在 qbit 任务里看过了), 没进目标文件夹, 回收站也没在, 我不太清楚现在的除重机制是怎样的, 感觉是没有, 因为每次更新qb 里的任务都会所有拉一遍. 我是下载,存储文件夹分离的, 因为用媒体 service, 如果不分离, downloading 状态的文件会让索引出问题. 所以像 sonarr 那样解析+数据管理是绕不过的吧. 感觉现在就是丢给 qb 去看文件是不是已经存在, 但其实这样不能保证文件是否被后续服务又重命名过了, 还是得在内部维护一个已下载的数据记录才行.

Originally posted by @ash0080 in #51 (comment)

历史番剧下载功能无效

AB_EP_COMPLETE=True 已开启

auto_bangumi

date stream content
2022-06-06T12:30:08.066953733Z stdout 2022-06-06 20:30:08 INFO: 完成
2022-06-06T12:30:08.066936889Z stdout 2022-06-06 20:30:08 INFO: 已对其中0个文件进行重命名
2022-06-06T12:30:08.066841416Z stdout 2022-06-06 20:30:08 INFO: 已完成对11个文件的检查
2022-06-06T12:30:07.869804887Z stdout 2022-06-06 20:30:07 INFO: Finished.
2022-06-06T12:30:07.869773715Z stdout 2022-06-06 20:30:07 INFO: Start adding rules.
2022-06-06T12:30:07.869404465Z stdout 2022-06-06 20:30:07 INFO: Start collect past eps.
2022-06-06T11:30:07.047114867Z stdout 2022-06-06 19:30:07 INFO: 完成
2022-06-06T11:30:07.047080192Z stdout 2022-06-06 19:30:07 INFO: 已对其中0个文件进行重命名
2022-06-06T11:30:07.046743593Z stdout 2022-06-06 19:30:07 INFO: 已完成对11个文件的检查
2022-06-06T11:30:06.861815865Z stdout 2022-06-06 19:30:06 INFO: Finished.
2022-06-06T11:30:06.861770824Z stdout 2022-06-06 19:30:06 INFO: Start adding rules.
2022-06-06T11:30:06.861415414Z stdout 2022-06-06 19:30:06 INFO: Start collect past eps.
2022-06-06T10:30:06.122459673Z stdout 2022-06-06 18:30:06 INFO: 完成
2022-06-06T10:30:06.122442276Z stdout 2022-06-06 18:30:06 INFO: 已对其中0个文件进行重命名
2022-06-06T10:30:06.122365359Z stdout 2022-06-06 18:30:06 INFO: 已完成对11个文件的检查
2022-06-06T10:30:05.937520811Z stdout 2022-06-06 18:30:05 INFO: Finished.
2022-06-06T10:30:05.937494217Z stdout 2022-06-06 18:30:05 INFO: Start adding rules.
2022-06-06T10:30:05.937089940Z stdout 2022-06-06 18:30:05 INFO: Start collect past eps.
2022-06-06T09:30:05.379320235Z stdout 2022-06-06 17:30:05 INFO: 完成
2022-06-06T09:30:05.379297575Z stdout 2022-06-06 17:30:05 INFO: 已对其中0个文件进行重命名
2022-06-06T09:30:05.379208263Z stdout 2022-06-06 17:30:05 INFO: 已完成对11个文件的检查
2022-06-06T09:30:05.196540221Z stdout 2022-06-06 17:30:05 INFO: Finished.
2022-06-06T09:30:05.196513054Z stdout 2022-06-06 17:30:05 INFO: Start adding rules.
2022-06-06T09:30:05.196109918Z stdout 2022-06-06 17:30:05 INFO: Start collect past eps.
2022-06-06T08:30:04.306819214Z stdout 2022-06-06 16:30:04 INFO: 完成
2022-06-06T08:30:04.306799377Z stdout 2022-06-06 16:30:04 INFO: 已对其中0个文件进行重命名
2022-06-06T08:30:04.306710413Z stdout 2022-06-06 16:30:04 INFO: 已完成对11个文件的检查
2022-06-06T08:30:04.122685573Z stdout 2022-06-06 16:30:04 INFO: Finished.
2022-06-06T08:30:04.122655967Z stdout 2022-06-06 16:30:04 INFO: Start adding rules.
2022-06-06T08:30:04.122231266Z stdout 2022-06-06 16:30:04 INFO: Start collect past eps.
2022-06-06T07:30:03.455416250Z stdout 2022-06-06 15:30:03 INFO: 完成

无法抓取 'NoneType' object has no attribute 'groups'

2022-07-03 22:00:22 INFO: Start collecting RSS info.
2022-07-03 22:00:23 ERROR: ERROR match 【幻樱字幕组】【7月新番】【异世界舅舅 Isekai Ojisan】【01_先行版】【GB_MP4】【1280X720】 'NoneType' object has no attribute 'groups'
2022-07-03 22:00:23 INFO: Connection error.
2022-07-03 22:00:23 INFO: Finished
2022-07-03 22:00:23 INFO: Running....

[BUG] 删除原来订阅并执行重置后,重启容器依然显示RSS已存在

描述出现的问题 Describe the bug
删除原来订阅并执行重置后,重启容器依然显示RSS已存在

Platform and version:

  • OS: Linux
  • AutoBangumi Version: 2.5.20
  • qBitTorrent Version: 4.3.9

Expected behavior
先手动删除了原来的RSS下载规则,然后再webUI里执行重置AB数据,然后重启容器

Logs
[2022-07-28 23:22:16,964] INFO: Version 2.5.20 Author: EstrellaXD Twitter: https://twitter.com/Estrella_Pan
[2022-07-28 23:22:16,965] INFO: GitHub: https://github.com/EstrellaXD/Auto_Bangumi/
[2022-07-28 23:22:16,965] INFO: Starting AutoBangumi...
[2022-07-28 23:22:17,130] DEBUG: Re-initializing context...
[2022-07-28 23:22:17,130] DEBUG: Re-initializing context...
[2022-07-28 23:22:17,131] DEBUG: Parsed user URL: ParseResult(scheme='', netloc='localhost:8080', path='', params='', query='', fragment='')
[2022-07-28 23:22:17,131] DEBUG: Detecting scheme for URL...
[2022-07-28 23:22:17,132] DEBUG: Starting new HTTP connection (1): localhost:8080
[2022-07-28 23:22:17,138] DEBUG: http://localhost:8080 "HEAD / HTTP/1.1" 200 0
[2022-07-28 23:22:17,138] DEBUG: Using HTTP scheme
[2022-07-28 23:22:17,139] DEBUG: Base URL: http://localhost:8080/
[2022-07-28 23:22:17,142] DEBUG: Starting new HTTP connection (1): localhost:8080
[2022-07-28 23:22:17,234] DEBUG: http://localhost:8080 "POST /api/v2/auth/login HTTP/1.1" 200 3
[2022-07-28 23:22:17,235] DEBUG: Login successful
[2022-07-28 23:22:17,235] DEBUG: SID: A7OBNI6R5EB01xwFJ2yIS7Vs/0iz113p
[2022-07-28 23:22:17,241] DEBUG: http://localhost:8080 "POST /api/v2/app/setPreferences HTTP/1.1" 200 0
[2022-07-28 23:22:17,243] DEBUG: http://localhost:8080 "GET /api/v2/rss/items HTTP/1.1" 200 141
[2022-07-28 23:22:17,244] INFO: RSS Already exists.
[2022-07-28 23:22:17,246] DEBUG: http://localhost:8080 "POST /api/v2/torrents/info HTTP/1.1" 200 2
[2022-07-28 23:22:17,246] INFO: Start collecting RSS info.
[2022-07-28 23:22:17,247] DEBUG: Starting new HTTPS connection (1): mikanani.me:443
[2022-07-28 23:22:17,638] DEBUG: https://mikanani.me:443 "GET /RSS/MyBangumi?token=UmjcuBPFbIJkXoHQpK%2BYSw%3D%3D HTTP/1.1" 200 None
[2022-07-28 23:22:17,658] DEBUG: Couldn't find a tree builder with the features you requested: xml. Do you need to install a parser library?
[2022-07-28 23:22:17,658] INFO: Finished
[2022-07-28 23:22:17,658] INFO: Running....

Screenshot
这是bangumi.json
tmpC5BB

这是qb
image

api添加同一番剧不同季提示重复

测试番剧:我的英雄学院S04 S05
推测问题:获取番剧名为 Boku no Hero Academia ,未区分季,导致RSS判定重复

api命令:

root@d3615:~# curl -X 'POST' \
>   'http://192.168.2.248:7892/api/v1/subscriptions' \
>   -H 'accept: application/json' \
>   -H 'Content-Type: application/json' \
>   -d '{
>   "link": "https://mikanani.me/RSS/Bangumi?bangumiId=2422&subgroupid=552"
> }'
{"official_title":"Boku no Hero Academia","title_raw":"Boku no Hero Academia","season":5,"season_raw":"第五季","group":"Lilith-Raws","dpi":"1080p","source":"Baha","subtitle":"CHT","added":false,"eps_collect":true}root@d3615:~# curl -X 'POST' \
>   'http://192.168.2.248:7892/api/v1/subscriptions' \
>   -H 'accept: application/json' \
>   -H 'Content-Type: application/json' \
>   -d '{
>   "link": "https://mikanani.me/RSS/Search?searchstr=%E6%88%91%E7%9A%84%E8%8B%B1%E9%9B%84%E5%AD%A6%E9%99%A2+%E7%AC%AC%E5%9B%9B&subgroupid=552&page=1"
> }'
"Error"

docker日志:

<html>
<body>
<!--StartFragment-->

2022-06-29T03:43:15.128349143Z | stdout | �[32mINFO�[0m:     192.168.2.248:57430 - "�[1mPOST /api/v1/subscriptions HTTP/1.1�[0m" �[32m200 OK�[0m
-- | -- | --
2022-06-29T03:43:15.128324800Z | stdout | qbittorrentapi.exceptions.Conflict409Error: 该 RSS 项的路径已存在:Boku no Hero Academia。
2022-06-29T03:43:15.128315109Z | stdout | raise Conflict409Error(response.text)
2022-06-29T03:43:15.128287668Z | stdout | File "/usr/local/lib/python3.10/site-packages/qbittorrentapi/request.py", line 640, in _handle_error_responses
2022-06-29T03:43:15.128277243Z | stdout | self._handle_error_responses(data, params, response)
2022-06-29T03:43:15.128264450Z | stdout | File "/usr/local/lib/python3.10/site-packages/qbittorrentapi/request.py", line 439, in _request
2022-06-29T03:43:15.128250287Z | stdout | return self._request(**kwargs)
2022-06-29T03:43:15.128233116Z | stdout | File "/usr/local/lib/python3.10/site-packages/qbittorrentapi/request.py", line 378, in _request_manager
2022-06-29T03:43:15.128224582Z | stdout | return self._request_manager(
2022-06-29T03:43:15.128213024Z | stdout | File "/usr/local/lib/python3.10/site-packages/qbittorrentapi/request.py", line 327, in _post
2022-06-29T03:43:15.128199916Z | stdout | self._post(_name=APINames.RSS, _method="addFeed", data=data, **kwargs)
2022-06-29T03:43:15.128184650Z | stdout | File "/usr/local/lib/python3.10/site-packages/qbittorrentapi/rss.py", line 176, in rss_add_feed
2022-06-29T03:43:15.128167298Z | stdout | return func(client, *args, **kwargs)
2022-06-29T03:43:15.128098065Z | stdout | File "/usr/local/lib/python3.10/site-packages/qbittorrentapi/decorators.py", line 93, in wrapper
2022-06-29T03:43:15.128085973Z | stdout | self._client.rss_add_feed(url, item_path)
2022-06-29T03:43:15.128067258Z | stdout | File "/auto_bangumi/downloader/qb_downloader.py", line 59, in rss_add_feed
2022-06-29T03:43:15.128042071Z | stdout | Traceback (most recent call last):
2022-06-29T03:43:15.127748763Z | stdout | 该 RSS 项的路径已存在:Boku no Hero Academia。
2022-06-29T03:42:24.970451955Z | stdout | �[32mINFO�[0m:     192.168.2.248:57339 - "�[1mPOST /api/v1/subscriptions HTTP/1.1�[0m" �[32m200 OK�[0m

<!--EndFragment-->
</body>
</html>
`

[问题汇总]字幕组命名失败/改名器改名失败汇总报告

请按照如下格式反馈:

报错地点:

  • 解析器:Not match 类型错误
  • 改名器:rename failed类型错误

原文件名称/字幕组命名名称:

注:

目前 AB 不支持识别的类型

  • 所有非单集如:[1-2]、[1-12] 这样的合集
  • 剧场版 OVA SP

本 issue 只针对支持的识别类型报错

AB_NOT_CONTAIN 这一参数能否支持多个关键词过滤

AB_NOT_CONTAIN 这一参数能否支持多个关键词过滤,如果可以,使用的是什么分隔符(我翻了下源码,没找到相关的分割)

这一需求的来源是这一季的派对浪客孔明
有一个组提供了两种清晰度的源
[猎户不鸽发布组] 派对浪客诸葛孔明 / 派对咖孔明 Paripi Koumei [10] [1080p+] [简中] [网盘] [2022年4月番] [1,011.5 MB]
[猎户不鸽发布组] 派对浪客诸葛孔明 / 派对咖孔明 Paripi Koumei [10] [1080p] [简中] [网盘] [2022年4月番] [414.2 MB]
其他的组都比它慢2天,因此这个组成了唯一选择

因此产生了需要过滤 1080p+ 这一清晰度的需求,但是我尝试了 空格;, 三种分隔符都没有产生预期效果
所以是并未提供多个关键词的功能,还是我的操作有误

[BUG] 历史番剧功能部分生效

已经把AB_EP_COMPLETE选项设置为True 但是有的剧只能下当前最新 有的只能从第一集开始下
看了下正规则也没包含关键字

[讨论] 关于 Web UI

中午在群里提到打算写个webui,所以想收集下大概的功能

根据目前的api可以列出以下的功能:

  • 日志查看
  • 查看已经订阅的番剧
  • 重置ab数据
  • 删除订阅中某番剧
  • 订阅正在更新的来自其他来源的新番的rss
  • 订阅旧番的rss

可能的功能:

  • 配置修改

重复下载

image
image

autobangumi 会重复添加下载任务和新建文件夹

命名

命名能改成中文名加(年份)的形式吗,这样的话tmdb挂削几乎99%正确

[BUG]最新的2.5.15似乎存在添加rss下载规则和自动下载的bug

具体表现:
启动容器后,能自动向qb添加rss订阅,但是无法添加rss下载规则,也无法自动开启下载,日志会一直显示retry,多次重装及重启都无法解决
最后通过滚回老版本暂时解决

因为我是第一次弄,时间正好介于2.5.15更新前后,中间重新pull了一次,结果莫名其妙就卡在了那里,还以为是哪里出问题了,足足折腾了一个晚上,终于在想是不是新版本bug
然后试了一下重新pull了2.5.14版本,立刻就可以重新添加了

[Feature Request]希望添加消息推送功能

比如调用bark的api,提供对手机进行消息推送的选项,
因为字幕组更新时间往往不确定,这样番剧下载完成后可以第一时间知道,不用反复刷新查看媒体库

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.