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

特定的文件名出现 “指定 URL 不是 Base64 编码后的字符串! ”错误。 #8

Closed
ngrict opened this issue Jan 5, 2022 · 4 comments

Comments

@ngrict
Copy link

ngrict commented Jan 5, 2022

对应文件名为:
99.9-刑事律师- 全新创作SP新的邂逅篇电影上映前纪念.99.9.Keiji.Senmon.Bengoshi.Kanzen.Shinsaku.SP.Aratana.Deai.Hen.Eiga.Koukaimae.Yomatsuri.SP.Chi_Jap.HDTVrip.1280X720.mp4

@loo2k
Copy link
Owner

loo2k commented Jan 9, 2022

@ngrict 可以提供分享链接和错误截图来看看

@ngrict
Copy link
Author

ngrict commented Jan 12, 2022

分享链接 : https://share.weiyun.com/UbozgKle
aria2 pigfly im_ariang_

@loo2k
Copy link
Owner

loo2k commented Jan 16, 2022

看了下是因为通过 URL 在 AriaNg 上面创建任务的时候,传递的下载地址 base64 解码失败的原因导致的。

解码失败的原因是 base64 加密的时候会产生 +/ 两个字符,在 URL 中传递会被直接转义,如果希望能正常传递这两个字符则需要将 +/ 两个字符分辨替换为 -_

AriaNg 已经做了相反动作的解码

参考文档

@loo2k loo2k closed this as completed in 2a2679c Jan 16, 2022
@loo2k
Copy link
Owner

loo2k commented Jan 16, 2022

@ngrict 已经更新了 0.0.8 版本,可以安装新版本再次尝试一下

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