This commit is contained in:
honue
2024-04-29 14:59:25 +08:00
parent a9667729d8
commit ec17a15686
2 changed files with 5 additions and 4 deletions

View File

@@ -50,11 +50,12 @@
"name": "豆瓣想看",
"description": "同步豆瓣想看数据,自动添加订阅。",
"labels": "订阅",
"version": "1.7",
"version": "1.8",
"icon": "douban.png",
"author": "jxxghp",
"level": 2,
"history": {
"v1.8": "不同步在看条目",
"v1.7": "增强API安全性",
"v1.6": "同步历史记录支持手动删除需要主程序升级至v1.8.4+版本",
"v1.5": "豆瓣信息识别后直接添加订阅,不进行搜索下载"

View File

@@ -34,7 +34,7 @@ class DoubanSync(_PluginBase):
# 插件图标
plugin_icon = "douban.png"
# 插件版本
plugin_version = "1.7"
plugin_version = "1.8"
# 插件作者
plugin_author = "jxxghp"
# 作者主页
@@ -520,8 +520,8 @@ class DoubanSync(_PluginBase):
try:
dtype = result.get("title", "")[:2]
title = result.get("title", "")[2:]
if dtype not in ["想看", "在看"]:
logger.info(f'标题:{title},非想看/在看数据,跳过')
if dtype not in ["想看"]:
logger.info(f'标题:{title},非想看数据,跳过')
continue
if not result.get("link"):
logger.warn(f'标题:{title},未获取到链接,跳过')