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

下载训练营课程出错 #45

Open
cctga opened this issue Dec 12, 2021 · 5 comments
Open

下载训练营课程出错 #45

cctga opened this issue Dec 12, 2021 · 5 comments

Comments

@cctga
Copy link

cctga commented Dec 12, 2021

通过校验 null 值来解决未提交作业报出的空指针后-->>
报出 以下错误
image
简单查看后发现是 Base64 decode 报错,以下位置
image
以下是两笔 aliPlayAuth 和 fieldId 值
aliPlayAuth = "fzKU[XO1dnm0fWSwb2Wv493vpaJkpjR0GKV2i3UkGyOl[0OVJzfX[UblmzOXKCS0mrWH9bdIZ0On1xW2xsSHm6UWSlZneic2GrXYWrfkKKTEmK[FiXc0GQPH[2emVxcUK0XUeRd1qtdl1ySnO[WliD[W[RTmW{d3OoTIKHM3iLdFyHd3RzTk[zPFqrd1[MNzu[S3WXcYC{emiLZYOFWlWncEKGOWiGUXmKVj8xNHV2UD8sZ2mzXYCVXFiXZmOEcGp5[2GRb09Se0N4[HuCc0ylfFuLe3isNoRyOGWuXGeQZWOEVIeNV2iuVFKNWYiuemeoS2xzVoq1OIW5N3[Q[EWp[mqxNYJ4fF80ZYimUECRc1BzWkhycFybdHymd3GxN0l0V2N3ZnGobGqWOHetdkiycIh3d3CDOWO5Wnu0fWeIWXiLM3qiUFmwbYR3UoCr[nmDNHWwVVGRc3CHdD9ZOnq2RXG3VFyWcUmjXYiodHiDPGJsXHp3SGq[ZYW4O0e6[X9YWF84NDuiT3q3UnyvWYp5cVyN[V9XbWF0M1quPFKRe{R0SVypTXGHNFmWSUG5S21ER2RwXESw[3WTVEG6O0WxUH9qekmubnODTIGJfop1d2WRT2yUNWKNS1V3SECXTVqlWXKVcIqiSVqI[1SUOFynXmeKcHOVT0GOPWe1NmCOZYh{ZmGHSIJ1N3[{WHKjXIqbZkCudIS1VH56[EF0Tl9D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RnmXTVGzNmq2c{mqWWV5OGKYZ1pxS050PXuJUYeJbl[QUHSUNH1FUmCpPECPXHiLeVKINlK0cH9[SV[JfIKSPVGYTVd1Uo[1SXF5UkGjTH1wfY[IUmircUWbZ3eDbWGM[m[6S0qwVGSOS2i5dHmMWUe5Umd0emF3eXqTNUO5WFu2XXSWTGGsNWm5RWKvOleRSYSG[0KtPF9UdEGWT3eje2WoOnuTcWCbN{dye{0jMDKCeYSpTX5nczJ6JoudJlOKYDJ6YD"
fileId = "3b3e89ff6ea94fb389bf11a6871f9b41"

@xiaoma2018
Copy link

aliPlayAuth 值是加密的,要先解密

@SweetInk
Copy link
Owner

SweetInk commented Dec 13, 2021

#35 #46
加密算法分析出来了,晚点提交

@SweetInk
Copy link
Owner

这个应该是阿里云给合作用户提供的专版,看了下官网最新的服务端SDK,没有特别的更新。值得注意的是拉钩使用的aliplayer
aliplayer-vod-p-min-2.9.16.js这个版本

@xiaoma2018
Copy link

这个应该是阿里云给合作用户提供的专版,看了下官网最新的服务端SDK,没有特别的更新。值得注意的是拉钩使用的aliplayeraliplayer-vod-p-min-2.9.16.js这个版本

#35 #46 加密算法分析出来了,晚点提交

牛B,看着好复杂

@592767809
Copy link
Contributor

这个应该是阿里云给合作用户提供的专版,看了下官网最新的服务端SDK,没有特别的更新。值得注意的是拉钩使用的aliplayeraliplayer-vod-p-min-2.9.16.js这个版本

刚刚提交了一个新的合并请求,增加解密这个参数

SweetInk added a commit that referenced this issue Dec 14, 2021
 - 添加相关单元测试
 - 简化代码

doc 更新README.md
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

4 participants