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

fix(thunderx): Fix Offline BUG #1

Merged
merged 2 commits into from
May 25, 2024
Merged

fix(thunderx): Fix Offline BUG #1

merged 2 commits into from
May 25, 2024

Conversation

Three-taile-dragon
Copy link

修复了离线下载接口


经过排查,之前出现captcha_invalid报错是因为Login函数中未能获取到UserID,导致无法刷新获取到正确的CaptchaToken,现在问题已经修复


新的问题:

  • 离线下载可以正确提交,但是文件保存的目录始终在根目录,即使向迅雷X后台接口传递文件夹ID,也无效。目前推测是迅雷X后台的限制。
  • 文件上传可以正确提交和上传,也可以获取到文件相关信息,比如下载链接等,但是在网盘中不显示,目前推测是迅雷X后台的问题,即上传到迅雷X服务器后,并未关联到用户文件夹。

后续希望对离线下载选择器的Storage进行优化,设置一个统一配置项,仅用户打开指定类型的云盘时显示其选项

Copy link

Fixed the offline download interface


After investigation, it was found that the captcha_invalid error occurred because the UserID was not obtained in the Login function, resulting in the inability to refresh and obtain the correct CaptchaToken. Now the problem has been fixed.


New question:

  • Offline downloads can be submitted correctly, but the directory where the file is saved is always in the root directory. Even if the folder ID is passed to the Thunder X background interface, it will not work. It is currently speculated that it is a limitation of the backend of Xunlei X.
  • File upload can be submitted and uploaded correctly, and file-related information, such as download links, etc., can also be obtained, but it is not displayed in the network disk. It is currently speculated that it is a problem with the Xunlei X backend, that is, after uploading to the Xunlei X server , not associated to the user folder.

In the future, we hope to optimize the Storage of the offline download selector, set a unified configuration item, and only display the options when the user opens the specified type of cloud disk.

@ykxVK8yL5L
Copy link
Owner

修复了离线下载接口

经过排查,之前出现captcha_invalid报错是因为Login函数中未能获取到UserID,导致无法刷新获取到正确的CaptchaToken,现在问题已经修复

新的问题:

  • 离线下载可以正确提交,但是文件保存的目录始终在根目录,即使向迅雷X后台接口传递文件夹ID,也无效。目前推测是迅雷X后台的限制。
  • 文件上传可以正确提交和上传,也可以获取到文件相关信息,比如下载链接等,但是在网盘中不显示,目前推测是迅雷X后台的问题,即上传到迅雷X服务器后,并未关联到用户文件夹。

后续希望对离线下载选择器的Storage进行优化,设置一个统一配置项,仅用户打开指定类型的云盘时显示其选项

感激不尽 👍👍👍👍👍🙏🙏🙏🙏🙏🙏
感兴趣的话可以加入我的TG群:https://t.me/joinchat/GZxTslH80phQbAR0bglMMA
也方便有什么问题可以及时向您请教

@Three-taile-dragon
Copy link
Author

修复了离线下载接口
经过排查,之前出现captcha_invalid报错是因为Login函数中未能获取到UserID,导致无法刷新获取到正确的CaptchaToken,现在问题已经修复
新的问题:

  • 离线下载可以正确提交,但是文件保存的目录始终在根目录,即使向迅雷X后台接口传递文件夹ID,也无效。目前推测是迅雷X后台的限制。
  • 文件上传可以正确提交和上传,也可以获取到文件相关信息,比如下载链接等,但是在网盘中不显示,目前推测是迅雷X后台的问题,即上传到迅雷X服务器后,并未关联到用户文件夹。

后续希望对离线下载选择器的Storage进行优化,设置一个统一配置项,仅用户打开指定类型的云盘时显示其选项

感激不尽 👍👍👍👍👍🙏🙏🙏🙏🙏🙏 感兴趣的话可以加入我的TG群:https://t.me/joinchat/GZxTslH80phQbAR0bglMMA 也方便有什么问题可以及时向您请教

已加入

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.

2 participants