Auto-claim all games from an itch.io bundle, adding them to your library. For example, "Bundle for Ukraine."
On Command Line:
git clone https://github.com/nyghtly-derek/itchio-bundle-claimer.git
cd itchio-bundle-claimer
npm install
Create secrets file:
touch secret.json
copy nul "secret.json"
Add your credentials to secret.json
:
{
"username": "my_username",
"password": "totally secret"
}
Configure bundle name in cypress.config.ts
:
{
...
"env": {
"bundleName": "Bundle for Ukraine"
},
...
}
npx cypress open --e2e --browser chrome
npx cypress run
for headless.You will need to disable this temporarily for the script to work. Make sure you turn it back on when you're done. I'm hoping to add support for this in the future.
This is expected behavior if you've already claimed all of the items in the bundle. We expect the script to skip any games that have been claimed. Unclaimed games have a "Claim" button. Claimed games have a "Download" button.
I've heard some reports of this behavior, but I'm not sure what's happening. Please take a full-page screenshot and report as an issue.