Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/obsfx/itchio-bundle-claimer
simple node.js script to add the whole bundle to your library.
https://github.com/obsfx/itchio-bundle-claimer
automation itchio node-js selenium selenium-node seleniumwebdriver
Last synced: 29 days ago
JSON representation
simple node.js script to add the whole bundle to your library.
- Host: GitHub
- URL: https://github.com/obsfx/itchio-bundle-claimer
- Owner: obsfx
- License: wtfpl
- Created: 2020-06-10T08:34:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T14:43:49.000Z (about 2 years ago)
- Last Synced: 2024-10-02T08:51:27.399Z (about 1 month ago)
- Topics: automation, itchio, node-js, selenium, selenium-node, seleniumwebdriver
- Language: JavaScript
- Homepage:
- Size: 9.18 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# itch.io bundle claimer
[Bundle for Racial Justice and Equality](https://itch.io/b/520/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.![](https://raw.githubusercontent.com/obsfx/itchio-bundle-claimer/master/media/demo.gif)
### 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
```2. Run chrome in remote debugging mode
(port '9000' must be available)
```
npm run run-chrome
```3. Open a new chrome window and type `127.0.0.1:9000` in the address bar.
![](https://raw.githubusercontent.com/obsfx/itchio-bundle-claimer/master/media/1.png)
4. Click that the `about:blank`
5. Type `itch.io` in that sub address bar and go to that page.
![](https://raw.githubusercontent.com/obsfx/itchio-bundle-claimer/master/media/2.png)
6. Login by defeating that annoying captcha. After you logged in you can close the browser.
7. Run the script.
```
node index.js --pages= --url=
e.g.: node index.js --pages=48 --url=https://itch.io/bundle/download/sakfjasfkhaslkjfhlkajsfhgjkhlasf
```