A Puppeteer-based scraper that logs into Steam, navigates the Community Market for a specified game, and extracts each listing’s internal item_nameid.
These IDs can be used with Steam’s public API to fetch price data, market activity, and more.
- Automatic Login
Authenticate with Steam using stored credentials. - Configurable Target
Specify any Steam AppID insettings.jsonto scrape different games. - Pagination Handling
Automatically detect and iterate through all market pages. - CSV Output
Appends each record withhash_namein column 1 anditem_nameidin column 2 to a CSV file for easy analysis.
- Node.js v14.0.0 or higher
- npm (bundled with Node.js)
- A valid Steam account
- Clone the repository
git clone https://github.com/your-username/steam-item-nameid-scraper.git cd steam-item-nameid-scraper
Edit settings.json to set your target game id and file output options
```json
{
"appId": "730",
"outputFolder": "output",
"parallelTabs": 10
}
# inside the project folder run
main.batA Chrome window launches via Puppeteer so you can log in visually.
Enter your Steam username and password when prompted. They are saved to login_info.json, so future runs skip the prompt unless you delete the file.
If Steam Guard 2‑factor authentication is enabled, approve the sign‑in on your mobile authenticator.
Contributions are welcome! Feel free to:
- Open issues for bugs or feature requests
- Submit pull requests to improve the code
- Share your feedback and ideas
This project is licensed under the MIT License - see the LICENSE file for details.