SteamyComments
A simple Python tool to download all comments from a Steam Workshop item and export them as a neatly formatted HTML file.
Install / Use
/learn @thisaccountname/SteamyCommentsREADME
Steam Comments Fetcher
Easily fetch all comments from a Steam Workshop item and export them into a neatly formatted HTML file.
No more Ctrl+F'ing on dozens of pages to see if you're the first person with an issue using a mod!
Features
- Fetches all comments from any given Steam Workshop item.
- Exports all comments to a single HTML file styled to match Steam’s appearance. (kinda)
Requirements
- Python 3.7 or higher
- Dependencies:
requestsandbeautifulsoup4
Installation
Clone this repository:
git clone https://github.com/thisaccountname/SteamyComments.git
cd SteamyComments
Install the required dependencies:
pip install -r requirements.txt
or, depending on OS configuration:
python -m pip install -r requirements.txt
Usage
- Open a terminal and navigate to the SteamyComments directory.
- Run the script with a Steam Workshop URL, for example:
python steam_comments.py "https://steamcommunity.com/sharedfiles/filedetails/?id=3118990099"
Note: Make sure to provide the main Steam Workshop item URL (the one that shows the mod), not a direct link to its comment section.
The script will generate an HTML file named after the Workshop item title, followed by the current date and time.
Example
python steam_comments.py "https://steamcommunity.com/sharedfiles/filedetails/?id=3118990099"
Output: True Music Jukebox - All Comments - 20241108 16_46.html
Notes
- The owner_id is automatically extracted from the Workshop page, so you don’t need to worry about providing it.
- The generated HTML file is styled similarly to Steam’s comment section for a familiar look. (not perfect)
Contributing
Feel free to open issues or submit pull requests to improve the script!
License
MIT License
