itchio-bundle-claimer
Auto-claim all games from an itch.io bundle, adding them to your library. For example, "Bundle for Ukraine."
How to Use
Prerequisites
Step-by-Step
On Command Line:
-
git clone https://github.com/nyghtly-derek/itchio-bundle-claimer.git
-
cd itchio-bundle-claimer
-
npm install
-
touch secret.json
-
Add your credentials to
secret.json
:
{
"username": "my_username",
"password": "totally secret"
}
- Configure bundle name in
cypress.json
:
{
...
"env": {
"bundleName": "Bundle for Ukraine"
},
...
}
npx cypress open
- Alternatively,
npx cypress run
for headless. - Make sure the authentication works before you walk away.
- The robot will automatically retry if it encounters any errors.
- Alternatively,
Two Factor Authentication (2FA)
You will need to disable this temporarily for the script to work. Make sure you turn it back on when you're done. I will be adding support for this in the future.