B
B
broski12021-12-11 01:17:56
Python
broski1, 2021-12-11 01:17:56

How to parse stickers on a steam item?

Steam, a Python parser
This item exists and is sold on the Steam marketplace.
https://steamcommunity.com/market/listings/730/AK-...
When you hover over an item, detailed information about it is displayed, including stickers applied to this item. Only 10 items are displayed on one page, to view the rest you need to go to the next page. We need to parse all items for stickers applied to them, and finally display information about the skin and stickers.
61b3d1deaf031140366012.png
I would be very happy for your help, because there is no free access to any information on this topic, thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vindicar, 2021-12-11
@broski1

Just like always. Steam loads a bunch of information with a background request.
In the developer tools in the browser, you look at the XHR requests that the page makes.
You are looking for a query that contains information about subjects.
You understand with its parameters and contents, you experiment. Most likely, the parameters will contain some kind of inventory ID and a pointer to how many items to skip (pagination). The content seems to be JSON, which is trivially parsed by the python module of the same name.
And then you just make this request, changing the parameters.

B
Boue, 2022-02-06
@Boue

well, for chrome there is a steam inventoty tool extension and a steam checker like this, so you can select 100 items per page + show stickers hating on the skin + the degree of wear of the stickers is convenient.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question