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

飞书新版文档支持 #4

Closed
Wsine opened this issue Jun 9, 2022 · 11 comments
Closed

飞书新版文档支持 #4

Wsine opened this issue Jun 9, 2022 · 11 comments

Comments

@Wsine
Copy link
Owner

Wsine commented Jun 9, 2022

由于飞书新版文档使用了全新的 API 接口和数据结构,上游 lark 项目还没有更新,因此暂时无法支持下载新版文档为 markdown。

@sos233
Copy link

sos233 commented Jun 19, 2022

这种是新版的文档吗,我现在下载这个会报错
https://yitanger.feishu.cn/docx/doxcnDAfsVce0m20UBtT5d2Hj4f
panic: Invalid feishu/larksuite URL containing docToken

@Wsine
Copy link
Owner Author

Wsine commented Jun 20, 2022

@sos233 是的,新版文档的链接 URL 的中间都是 docx,旧版文档是 docs

@Wsine
Copy link
Owner Author

Wsine commented Jul 22, 2022

@sos233 已支持新版文档,欢迎试用。

@Wsine Wsine closed this as completed Jul 22, 2022
@sos233
Copy link

sos233 commented Jul 26, 2022

@Wsine 效果挺好 👍

@Wsine Wsine pinned this issue Jul 26, 2022
@sos233
Copy link

sos233 commented Sep 9, 2022

@Wsine
这个文档报错了
https://yitanger.feishu.cn/docs/doccnnQqOLMf5rJ7YU7VbguRA6L
json: cannot unmarshal number 384.5866968844363 into Go struct field DocImageItem.body.blocks.gallery.imageList.width of type int

@Wsine
Copy link
Owner Author

Wsine commented Sep 9, 2022

@Wsine 这个文档报错了 https://yitanger.feishu.cn/docs/doccnnQqOLMf5rJ7YU7VbguRA6L json: cannot unmarshal number 384.5866968844363 into Go struct field DocImageItem.body.blocks.gallery.imageList.width of type int

这个应该是上游 lark 的错误,建议报告给 lark

@ischt
Copy link

ischt commented Dec 4, 2022

2022/12/04 20:20:43 request Drive#GetDocxDocument failed: code: 99991672, msg: Access denied. One of the following scopes is required: [docx:document, docx:document:readonly]

请问如何解决

@xpc0938
Copy link

xpc0938 commented Dec 28, 2022

我block在这儿了:
2022/12/28 12:16:10 request Drive#GetDocxDocument failed: code: 1770032, msg: forBidden

@wy-z
Copy link
Contributor

wy-z commented Dec 28, 2022

我block在这儿了: 2022/12/28 12:16:10 request Drive#GetDocxDocument failed: code: 1770032, msg: forBidden

建议先排查下飞书文档上的权限配置有没有问题 @xpc0938

  1. 是否添加文档应用

image

2. 文档应用权限配置是否正确

@9694368924
Copy link

感谢开发者

@kamalkk
Copy link

kamalkk commented Mar 13, 2024

限配置有没有问题 @xpc0938

嗨,这个文件解决了吗?

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

7 participants