Automation tools for itch.io game management
Project description
Itch Majordomo
This is a small utility function that allows you to edit the names of Itch-Butler-uploaded files. It's essentially an out-of-band fix for https://github.com/itchio/butler/issues/129.
It is extremely ugly because it uses web scraping to work. Perhaps someday it will stop working! Perhaps Butler will then support the desired feature. Perhaps it will not. The tea leaves tell me nothing; the future is a mystery, shrouded in darkness.
Installation
pip install itch-majordomo
Note: This relies on Selenium to work. I vaguely recall that Selenium has other requirements. Maybe this won't work on a system without a GUI? I dunno, man. Send me a pull request if these installation instructions require more info.
Quick Start
from itch_majordomo import ItchMajordomo
# Initialize with your game ID and authentication cookie
with ItchMajordomo("your-game-id", "your-cookie") as majordomo:
# Update display names for your builds
majordomo.update_display_names({
"hypercube-linux.zip": "hypercube-v0.2.3-linux.zip",
"hypercube-windows.zip": "hypercube-v0.2.3-windows.zip"
})
Authentication
You'll need two pieces of information:
- Your game's ID (found in the URL when editing your game)
- Your itch.io authentication cookie
To get your authentication cookie:
- Log into itch.io
- Open your browser's developer tools (usually F12)
- Go to the Application/Storage tab
- Look for Cookies > itch.io
- Copy the value of the 'itchio' cookie
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
This tool is not limited to just updating display names; I'm happy to add support for whatever weird thing you want that isn't supported by Butler.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file itch_majordomo-0.1.0.tar.gz.
File metadata
- Download URL: itch_majordomo-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.11.2-4-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da07d452e40d0c40c7987853b14d07a121dc6826ac24924e8f76f4f8d90c88a1
|
|
| MD5 |
5d866f93fabd79cbf98eb4f5ddf6baf8
|
|
| BLAKE2b-256 |
bc2ef5463cc2e18f1d05c5df30bc690643b2f0ca87716a66842636cf8acf8a47
|
File details
Details for the file itch_majordomo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: itch_majordomo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.11.2-4-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a719a57ad7dea8fa8ec233d5c1d2b1f1c7d734d73eb952e764480b6cb980f656
|
|
| MD5 |
e9444252f5ea10be968d61fd44615e7d
|
|
| BLAKE2b-256 |
8e8c8372ef7af198aa84fea15be1184ed510068cd7602df437af63e32dec3226
|