Peach: Local-first video metadata scraper and media manager.
fix: hide rendering-only follow tags
longmeidao5f2739ff2352
diff --git a/src/peach/web_follow.py b/src/peach/web_follow.pyindex 2d27c374a..f574b0d87 100644--- a/src/peach/web_follow.py+++ b/src/peach/web_follow.py@@ -56,7 +56,8 @@ RULE34VIDEO_EXCLUDED_IDS = frozenset({"4533145"})# 内容筛选不让载体/渲染方式挤掉动作、角色与作品标签。原始 metadata 仍完整保留。LOW_VALUE_FOLLOW_TAGS = frozenset({- "2d", "3d", "animated", "animation", "video", "tagme", "sound",+ "2d", "3d", "2d_animation", "3d_animation", "animated", "animation",+ "video", "tagme", "sound","no sound", "audio", "loop", "webm", "mp4",})diff --git a/tests/test_follow_web.py b/tests/test_follow_web.pyindex 2d4d13f54..7fed910a7 100644--- a/tests/test_follow_web.py+++ b/tests/test_follow_web.py@@ -1198,7 +1198,7 @@ class FollowWebSourceTests(unittest.TestCase):# 作者手柄本身不算标签:按作者筛已经有专门的筛选条,重复出现没有信息量。self.assertEqual(tags, ["1girls"])video_tags = web_follow._item_tags(_Item({- "tags": ["deep throat", "3D", "breast squeeze"],+ "tags": ["deep throat", "3D", "3d_animation", "breast squeeze"],"categories": ["2D", "Final Fantasy"],}))self.assertEqual(video_tags,