itchio-bundle-claimer

simple node.js script to add the whole bundle to your library.

WTFPL License

Stars
3
Committers
1

itch.io bundle claimer

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.

Prerequisites

  1. Download appropriate chrome driver for your operating system and add it to the PATH.
  2. Add chrome to the PATH. It should be accessible as 'google-chrome'.
  3. And of course nodejs and npm.

Usage

  1. Clone the repo
git clone https://github.com/obsfx/itchio-bundle-claimer.git
cd itchio_bundle_claimer
npm install
  1. Run chrome in remote debugging mode

(port '9000' must be available)

npm run run-chrome
  1. Open a new chrome window and type 127.0.0.1:9000 in the address bar.
  1. Click that the about:blank

  2. Type itch.io in that sub address bar and go to that page.

  1. Login by defeating that annoying captcha. After you logged in you can close the browser.

  2. 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