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

数据更新问题 #182

Open
xiaoyangst opened this issue Nov 15, 2024 · 5 comments
Open

数据更新问题 #182

xiaoyangst opened this issue Nov 15, 2024 · 5 comments

Comments

@xiaoyangst
Copy link

问题描述:

就是之前被记录的书,在豆瓣这边已经取消了,为什么这边再次更新的时候那些记录还在?

是不是每次都会去读缓存,然后并不会更新缓存?

@mythsman
Copy link
Owner

目前用户的评论信息更新下载好后,后续只会进行增量更新。
如要强制更新,需要手动调一下相关接口。

https://github.com/mythsman/mouban?tab=readme-ov-file#%E5%BC%BA%E5%88%B6%E6%9B%B4%E6%96%B0%E7%94%A8%E6%88%B7

@xiaoyangst
Copy link
Author

Quote reply
Reference i

item_type 取: 1-book 2-movie 3-game 4-song

http://localhost:8080/admin/refresh_item?type={item_type}&id={item_douban_id}

你这个 item_douban_id 指哪个? 豆瓣用户 id ?

而且你这个IP地址,是我这边 hexo s 的那个地址吗?

@xiaoyangst
Copy link
Author

更新之后什么时候生效呢?

@mythsman
Copy link
Owner

分钟级更新,吃个饭应该就好了。

@xiaoyangst
Copy link
Author

分钟级更新,吃个饭应该就好了。

实际上并没有,按照你给的方式返回 success,但是还是没有成功

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

No branches or pull requests

2 participants