Open zhongfly opened 3 years ago
问题好像出在了cloudflare worker的服务器访问steam都是403 Forbidden。 简单验证: https://cors.rhilip.workers.dev/?apiurl=https://store.steampowered.com/app/420560/Firefighting_Simulator__The_Squad/?l=schinese 我目前暂时没能力解决,待进一步观察是临时性问题还是长期问题。
https://dogcraft.top/archives/106/ 这位博主提供了另外一种cf worker的方法,走的是https://api.steampowered.com/ 域名,我试了试没问题 (未出现403报错) ,但是目前暂无精力将整个steam模块修改成API调用,此外这种方法要求申请APIKEY,准备再看看。
复现步骤
其他信息
{ "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 }