Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: None official_title in bangumi stopping rss parsing #866

Open
wants to merge 1 commit into
base: 3.1-dev
Choose a base branch
from

Conversation

leverglowh
Copy link

解析搜索结果时会发生raw_parser成功生成Bangumi但是此对象title_rawNone造成official_title_parser替换字符时报错,解析中断。
这个PR主要为了继续解析队列会对这个Bangumi“放行”。
其他raw_parser优化可能:

  1. 优化解析不要造成false positive,不过我遇到的例子是rss link也是空的,不晓得会不会有rss link有但是title为空?
  2. official_title = title_raw 这行改为 official_title = title_raw or "" (?

重现:
搜索“紫罗兰”会在rss item
[致命紫罗兰004/Ultraviolet Code 044][01][BDRIP][1920x1080][机翻中文字幕]
出现以上情况。

Copy link

vercel bot commented Sep 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auto-bangumi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 29, 2024 4:46pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant