Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

大量报错,无法获取Steam物品信息 #34

Open
zyhkz opened this issue Nov 29, 2022 · 2 comments
Open

大量报错,无法获取Steam物品信息 #34

zyhkz opened this issue Nov 29, 2022 · 2 comments

Comments

@zyhkz
Copy link

zyhkz commented Nov 29, 2022

大量报错,无法获取Steam物品信息,稍微debug了一下

代码文件CheapSteam\ChpStmScraper\Program.cs line:155

                                            string steamApiUrl = $"https://steamcommunity.com/market/itemordershistogram?country=CN&language=schinese&currency=23&item_nameid={marketId}&two_factor=0";

                                            var apiResult = httpService.Get(steamApiUrl);

这个apiResult 一直是429,前面加了等待也还是一样的。
前面的result是正常的200,不过这个时候result.Headers里会包含set-cookie
怀疑是不是Steam改了,需要加cookie才能发送steamApiUrl ?

@YukiCoco
Copy link
Owner

YukiCoco commented Dec 5, 2022

近期,这个 API https://steamcommunity.com/market/itemordershistogram,被 Steam 官方限制了,无解

@Bu7eneChen
Copy link

所以还有救吗,,,,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants