mirror of
https://github.com/jxxghp/MoviePilot-Plugins.git
synced 2026-06-01 07:26:51 +00:00
chore: update agent resource officer jieba dependency
This commit is contained in:
@@ -698,12 +698,13 @@
|
||||
"name": "Agent影视助手",
|
||||
"description": "龙虾agent稳定控制 MP:飞书入口、盘搜/影巢搜索、115/夸克转存、智能评分推荐。",
|
||||
"labels": "Agent,影巢,HDHive,115,夸克,Quark,智能体,转存,解锁",
|
||||
"version": "0.2.72",
|
||||
"version": "0.2.73",
|
||||
"icon": "agentresourceofficer.png",
|
||||
"author": "liuyuexi1987",
|
||||
"level": 1,
|
||||
"system_version": ">=2.12.0",
|
||||
"system_version": ">2.12.4",
|
||||
"history": {
|
||||
"0.2.73": "整理历史标题分词依赖改用 jieba-next,需要 MoviePilot >2.12.4。",
|
||||
"0.2.72": "影巢自动登录兜底流程改用 CloakBrowser,移除插件对 Playwright 浏览器调用的直接依赖。",
|
||||
"0.2.71": "新增流媒体推荐:聚合 Netflix、Disney+、Apple TV+、Prime Video 四大平台,基于 TMDB discover 按热度/评分推荐本月上新、近期热门电影和剧集;结果页改为只读列表,仅支持显式前缀触发。",
|
||||
"0.2.70": "最后一轮主线收口:取消标题级云盘转存/云盘搜索入口,统一保留前缀搜索与编号续接;修复 PT 指定集/最新集筛选、下载路径透传、分页与旧别名拦截,并同步外部智能体 Skill/命令文档。",
|
||||
|
||||
@@ -126,7 +126,7 @@ class AgentResourceOfficer(_PluginBase):
|
||||
plugin_name = "Agent影视助手"
|
||||
plugin_desc = "龙虾agent稳定控制 MP:飞书入口、盘搜/影巢搜索、115/夸克转存、智能评分推荐。"
|
||||
plugin_icon = "https://raw.githubusercontent.com/liuyuexi1987/MoviePilot-Plugins/main/icons/agentresourceofficer.png"
|
||||
plugin_version = "0.2.72"
|
||||
plugin_version = "0.2.73"
|
||||
request_templates_schema_version = "request_templates.v1"
|
||||
plugin_author = "liuyuexi1987"
|
||||
plugin_level = 1
|
||||
|
||||
@@ -15,9 +15,9 @@ from pathlib import Path
|
||||
from typing import Any, Dict, List, Optional, Tuple
|
||||
|
||||
try:
|
||||
import jieba
|
||||
from jieba_next import cut as jieba_cut
|
||||
except Exception:
|
||||
jieba = None
|
||||
jieba_cut = None
|
||||
|
||||
for _site_path in (
|
||||
"/usr/local/lib/python3.12/site-packages",
|
||||
@@ -1350,9 +1350,9 @@ class FeishuChannel:
|
||||
status_bool = self._transfer_status_bool(status)
|
||||
title_text = str(title or "").strip()
|
||||
search_text = title_text
|
||||
if title_text and jieba is not None:
|
||||
if title_text and jieba_cut is not None:
|
||||
try:
|
||||
search_text = "%".join(jieba.cut(title_text, HMM=False))
|
||||
search_text = "%".join(jieba_cut(title_text, HMM=False))
|
||||
except Exception:
|
||||
search_text = title_text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user