Skip to content

fix(115_share): adjust 115 share driver for official API update#2068

Merged
xrgzs merged 3 commits intoOpenListTeam:mainfrom
SheltonZhu:main
Feb 2, 2026
Merged

fix(115_share): adjust 115 share driver for official API update#2068
xrgzs merged 3 commits intoOpenListTeam:mainfrom
SheltonZhu:main

Conversation

@SheltonZhu
Copy link
Contributor

@SheltonZhu SheltonZhu commented Feb 1, 2026

Description / 描述

  1. 115 分享官方修改了 api
  2. 115 下载报错用户未登录
  3. 115 下载,andriod api 只能使用 andriod 的cookie,用户配置的时候也可能乱添 qrcode source, 导致下载失败,所以为了保持兼容性,移除安卓下载api,全部使用通用下载api。
  4. 增加了thumb

ps: (坐等alist来抄代码😊)

Motivation and Context / 背景

  1. 修复了115分享 Closes 115driver#64
  2. 修复115下载报错用户未登录

How Has This Been Tested? / 测试

  1. 在115下载页面测试115 的下载
  2. 在115 分享页面测试驱动的初始化和下载
  3. 图片类型使用网格视图可以看到缩略图

Checklist / 检查清单

  • I have read the CONTRIBUTING document.
    我已阅读 CONTRIBUTING 文档。
  • I have formatted my code with go fmt or prettier.
    我已使用 go fmtprettier 格式化提交的代码。
  • I have added appropriate labels to this PR (or mentioned needed labels in the description if lacking permissions).
    我已为此 PR 添加了适当的标签(如无权限或需要的标签不存在,请在描述中说明,管理员将后续处理)。
  • I have requested review from relevant code authors using the "Request review" feature when applicable.
    我已在适当情况下使用"Request review"功能请求相关代码作者进行审查。
  • I have updated the repository accordingly (If it’s needed).
    我已相应更新了相关仓库(若适用)。

@SheltonZhu SheltonZhu changed the title fix(115_share): fix(115_share): adjust 115 share driver for official API update Feb 1, 2026
@SheltonZhu SheltonZhu closed this Feb 1, 2026
@SheltonZhu SheltonZhu reopened this Feb 1, 2026
- Add Thumb() method to FileObj in 115 driver to return thumbnail URL
- Add ThumbURL field to FileObj struct in 115 share utility
- Update 115driver dependency from v1.2.2 to v1.2.3 to support thumbnail functionality
- Implement Thumb() method for 115 share FileObj to return thumbnail URL
@xrgzs xrgzs merged commit 5d9fc83 into OpenListTeam:main Feb 2, 2026
12 checks passed
@ywlhlp
Copy link

ywlhlp commented Feb 5, 2026

分享挂载不会报错了,但观看视频时出现:failed link: failed get link: {"state":false,"msg":"当前版本过低,请升级到最新版本下载。","error":"当前版本过低,请升级到最新版本下载。","errno":50029,"errtype":"war"}: unexpected error这个错误,视频还是无法正常观看,麻烦大佬看看,谢谢

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

Successfully merging this pull request may close these issues.

上传失败

4 participants