ModestSerhat / cs2-marketplace-ids

Many Item and Item Related IDs of CS2 items on buff163 and Youpin898

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scraper code

DarkGL opened this issue · comments

Could you share code of the scrapper you use to get ids ?

https://buff.163.com/market/buy_order/to_create?game=csgo

Scrape the HTTP endpoint this page uses with cookies of a logged in user

You can also scrape the page https://buff.163.com/goods/{goods_id}#tab=selling without an user login but you would need a goods_id parameter (or a range of numbers of goods_id parameters) to get an HTML response, the name of the item is the first h1 element in the page. The

The name of the item is Chinese without any cookies, you can get the English name by setting the Locale-Supported cookie to 'en' and requesting the page.