diff --git a/README.md b/README.md
index ba4e965..7a8e297 100644
--- a/README.md
+++ b/README.md
@@ -135,6 +135,11 @@
7. 进入Obsidian插件中心重新加载当前插件
8. 享受开发吧
+## 支持开发者
+如果觉得插件对你有帮助,欢迎请我喝杯咖啡,让我有更多的动力去维护和更新插件
+
+
+
## 交流社群
@@ -164,10 +169,7 @@
| 同步书影音数据 | 以上所有 | 以上所有 | 以上所有 |
| 同步书影音数据 | `替换同名文档`值为勾选 | 已经存在 **同路径同文档名** ,直接覆盖 | 如已经存在在`data/Movie/蝙蝠侠.md`,配置`笔记名称`值为`/data/{{type}}/{{title}}`, 同步书影音记录时勾选 `替换同名文档`, 则`data/Movie/蝙蝠侠.md`会被替换成最新 |
-## 支持开发者
-如果觉得插件对你有帮助,欢迎请我喝杯咖啡,让我有更多的动力去维护和更新插件
-
[//]: # (### IDE支持)
diff --git a/src/org/wanxp/constant/Constsant.ts b/src/org/wanxp/constant/Constsant.ts
index 690252d..088faad 100644
--- a/src/org/wanxp/constant/Constsant.ts
+++ b/src/org/wanxp/constant/Constsant.ts
@@ -218,7 +218,7 @@ export const SyncTypeUrlDomain: Map = new Map([
[SyncType.note , 'note'],
[SyncType.music , 'music'],
[SyncType.teleplay , 'movie'],
- [SyncType.game, 'game'],
+ [SyncType.game, 'games'],
]
)
diff --git a/src/org/wanxp/douban/sync/handler/DoubanGameSyncHandler.ts b/src/org/wanxp/douban/sync/handler/DoubanGameSyncHandler.ts
index fb08855..b496d9e 100644
--- a/src/org/wanxp/douban/sync/handler/DoubanGameSyncHandler.ts
+++ b/src/org/wanxp/douban/sync/handler/DoubanGameSyncHandler.ts
@@ -13,21 +13,26 @@ import DoubanMovieWishListHandler from "./list/DoubanMovieWishListHandler";
import DoubanMovieDoListHandler from "./list/DoubanMovieDoListHandler";
import TimeUtil, {sleepRange} from "../../../utils/TimeUtil";
import {log} from "../../../utils/Logutil";
+import DoubanGameLoadHandler from "../../data/handler/DoubanGameLoadHandler";
+import DoubanGameCollectListHandler from "./list/DoubanGameCollectListHandler";
+import DoubanGameWishListHandler from "./list/DoubanGameWishListHandler";
+import DoubanGameDoListHandler from "./list/DoubanGameDoListHandler";
+import DoubanGameSubject from "../../data/model/DoubanGameSubject";
//TODO will support in future version
-export class DoubanMovieSyncHandler extends DoubanAbstractSyncHandler{
+export class DoubanGameSyncHandler extends DoubanAbstractSyncHandler{
constructor(plugin:DoubanPlugin) {
- super(plugin, new DoubanMovieLoadHandler(plugin),[
- new DoubanMovieCollectListHandler(),
- new DoubanMovieWishListHandler(),
- new DoubanMovieDoListHandler()]);
+ super(plugin, new DoubanGameLoadHandler(plugin),[
+ new DoubanGameCollectListHandler(),
+ new DoubanGameWishListHandler(),
+ new DoubanGameDoListHandler()]);
}
getSyncType(): SyncType {
- return SyncType.movie;
+ return SyncType.game;
}