关于下载度盘 pdf 等文档文件的新思路
Please make sure of the following things
- [X] I have read the documentation.
- [x] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure this feature is not implemented.
- [X] I'm sure it's a reasonable and popular requirement.
Description of the feature / 需求描述
我是非svip用户,我在本地电脑的 docker 上部署的 alist,能看视频,但是作为网盘存书的重度用户,下载和预览百度网盘的 pdf 等文档文件,很重要,但是在 alist 预览时,Failed to fetch, 无效或损坏的 PDF 文件 是常态,并且下载时返回 code:500, failure,status: 403 response,我感觉这应该不是office服务的问题 #3165 ,也不是 https 的问题 #为什么我不能预览pdf文件 而是无法下载资源导致无法预览,我其他网盘都能预览。
#2181
所以有如下需求:已更快的速度下载和预览度盘 pdf 等文档文件,我仅在此提供如何提供更快下载pdf等文档的思路。
Suggested solution / 实现思路
我平时能在手机app上通过如下方法,以几兆的速度下载百度网盘中的文档文件(下面是我在模拟器中的的思路复现)
我尝试通过 Burpsuite 抓包解决:
我将上面获取到的 url 粘贴到 motrix 中,并修改 ua,速度很快:
这里有个推荐项目:BaiduPCS-Go,我这个项目中也提了差不多的 BaiduPCS-Go #342 。
建议
使用 BaiduPCS-Go 中登录百度网盘的方法,不需要刷新令牌,只需要 cookie 中的 BDUSS 值即可登录百度网盘,BaiduPCS-Go 获取到的直链和我获取的链接几乎没有区别,但是下载速度干差万别,具体看 issue BaiduPCS-Go #342
最后
我不知道是否能通过此方法下载音视频或者压缩文件,因为没办法在手机上使用相同思路下载它们。
Additional context / 附件
No response
Thanks for opening your first issue here! Be sure to follow the issue template!
建议直接开svip
建议直接开svip
垃圾百毒网盘开个锤子SVIP
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.