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

Steam游戏信息获取失败 #10

Open
4 of 6 tasks
zhongfly opened this issue Nov 23, 2020 · 2 comments
Open
4 of 6 tasks

Steam游戏信息获取失败 #10

zhongfly opened this issue Nov 23, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@zhongfly
Copy link

zhongfly commented Nov 23, 2020

复现步骤

  1. 请指出是哪个域名能够复现该问题?
  1. 如果是非官方域名出现的问题,在上面的官方API Point中能否复现?(使用官方域名请跳过)
  1. 错误链接?
    https://store.steampowered.com/app/1062160

其他信息

{
"success": false,
"error": "Internal Error, Please contact @Rhilip. Exception: Cannot read property 'replace' of undefined",
"format": "",
"copyright": "Powered by @Rhilip",
"version": "0.6.1",
"generate_at": 1606125910585
}

@zhongfly zhongfly added the bug Something isn't working label Nov 23, 2020
@Rhilip
Copy link
Owner

Rhilip commented Nov 23, 2020

问题好像出在了cloudflare worker的服务器访问steam都是403 Forbidden。
简单验证: https://cors.rhilip.workers.dev/?apiurl=https://store.steampowered.com/app/420560/Firefighting_Simulator__The_Squad/?l=schinese
我目前暂时没能力解决,待进一步观察是临时性问题还是长期问题。

@Rhilip
Copy link
Owner

Rhilip commented Nov 23, 2020

https://dogcraft.top/archives/106/ 这位博主提供了另外一种cf worker的方法,走的是https://api.steampowered.com/ 域名,我试了试没问题 (未出现403报错) ,但是目前暂无精力将整个steam模块修改成API调用,此外这种方法要求申请APIKEY,准备再看看。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants