🔨 Item Builds
This script web-scrapes Dota 2 Pro Tracker (https://dota2protracker.com/) pages to create up-to-date hero item builds and directly imports them into Dota 2 local files.

🤓 Usage
- Create a Python environment. For example, this repository is already set up with
uv; - Rename
config.example.pytoconfig.py. Fill it with your own Hero + Role pairings; - Run the project, i.e.
uv run main.py; - The item builds will be saved into
C:\Program Files (x86)\Steam\userdata\{FRIEND_ID}\570\remote\guides.
⚠️ Warning
This script is quite lazy, i.e. It doesn’t account for custom steam installation paths and some other sophisticated details, so you might encounter some errors. Any PRs to improve the utility are welcome.
⏰ Task Scheduler
I tried to make create_scheduled_task.bat to automatically add a task into Windows’ Task Scheduler but it doesn’t quite work (help appreciated).
So I ended up adding it manually for myself.
Some short instructions
- Task Scheduler -> Right Actions Panel -> Create Basic Task
- Follow the steps. Notable things:
- Action: Start a program
- Program/script:
D:\CODE\Dota2Utils\ItemBuilds\.venv\Scripts\pythonw.exe-pythonw.exewithwin the end for windowless task; - Add arguments
"D:\CODE\Dota2Utils\ItemBuilds\main.py"- with quotes; - Start in
D:\CODE\Dota2Utils\ItemBuilds
- Important thing - general tab, we need to choose a proper user (i.e. I have
"Me"), otherwise it puts someMedium Mandatory Levelgroup (???). - If we encounter any errors -> Open Event Viewer -> Application and Services Logs -> Microsoft -> Windows -> Task Scheduler -> Operational -> Right-Click +
Enable Logand work with it, i.e.Refresh. I also left some screenshots inassetsfolder for future me.