Bundle for Racial Justice and Equality
A simple script that is using selenium
to help you for adding all bundle items
to your library by clicking all download buttons in place of you.
- Download appropriate chrome driver for your operating system and add it to the PATH.
- Add chrome to the PATH. It should be accessible as 'google-chrome'.
- And of course nodejs and npm.
- Clone the repo
git clone https://github.com/obsfx/itchio-bundle-claimer.git
cd itchio_bundle_claimer
npm install
- Run chrome in remote debugging mode
(port '9000' must be available)
npm run run-chrome
- Open a new chrome window and type
127.0.0.1:9000
in the address bar.
-
Click that the
about:blank
-
Type
itch.io
in that sub address bar and go to that page.
-
Login by defeating that annoying captcha. After you logged in you can close the browser.
-
Run the script.
node index.js --pages=<specify the page count> --url=<specify the bundle page url that listed all download buttons>
e.g.: node index.js --pages=48 --url=https://itch.io/bundle/download/sakfjasfkhaslkjfhlkajsfhgjkhlasf