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

👑[Enhancement] 希望增加游戏下载CDN重定向功能 #3330

Open
FrankeyLing opened this issue May 4, 2024 · 1 comment
Open

👑[Enhancement] 希望增加游戏下载CDN重定向功能 #3330

FrankeyLing opened this issue May 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@FrankeyLing
Copy link

FrankeyLing commented May 4, 2024

🥰 需求描述(Description)

希望在【网络加速-平台加速-Steam服务】下增加Steam游戏下载CDN重定向功能。
在开启一些正向代理软件或者Steam账号不在国区时,尽管Steam客户端设置里将下载地区设置为了中国大陆的地区,Steam在进行游戏下载时依然会强制通过境外的CDN(如香港或者新加坡等)进行下载,如果下载流量不走节点代理,那么游戏下载的速度会非常慢(几百kB/s到3mB/s不等),甚至无法正常下载。如果通过重定向的方式将Steam的下载请求强制重定向到Steam在中国大陆的下载CDN上,即使是上述情况在进行Steam游戏下载时也同样能达到正常速度,故希望增加Steam游戏下载CDN重定向功能。

🧐 解决方案(Solution)

通过反向代理以及内部的服务重定向功能把Steam的下载请求强制重定向到Steam在中国大陆的下载CDN上,如金山云、阿里云、腾讯云和华为云等,以保证包括账号在外区的任何情况下Steam的游戏下载能够走中国大陆CDN以达到正常速度。

@FrankeyLing FrankeyLing added the enhancement New feature or request label May 4, 2024
@FrankeyLing
Copy link
Author

关于下载CDN的token问题,可以正向获取,我基于这个项目写了一个demo:
https://github.com/FrankeyLing/node-steam-user/blob/master/examples/returntoken.js
拿到token后只需要把重定向的网址后面加上token即可正常下载
demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant