This is an infinity randomly picker doujinshi from yours favorite list with auto scroll and pagination
This is a simple and shit ruby script written with ‘watir’ gem to automate the use of nhentai.
You just have to put your username and password and run the script.
It creates a new instance of chrome incognito mode which will run infinitely a while loop to pick randomly a doujinsh
from your favorite list. It has an smooth auto scroll due the image size and auto pagination.
You can speed up things by changing the sleep values.
[Demonstration (NSFW)] <removed (2022)>
Linux (Ubuntu 18.04)
sudo apt install ruby-full
Check if ruby was installed succesfully by running
ruby -v
You only need to install the watir gem. Run the following command.
gem install watir
Now you need to install the firefox or chrome driver. I went through a little bit of trouble to install these things. So I will show how I installed the Geckodriver for Firefox on the Ubuntu 18.04 OS. This might be useful for Windows users
Download the proper driver.
If the driver was downloaded in the Downloads folder, in your terminal run
cd Downloads
chmod +x geckodriver sudo mv geckodriver /usr/local/bin/
You placed the driver where your tools can find it.
Any problems? Check
Download the script.
Open the nhentai.rb with a text editor and put your login where it says ‘USER_NAME’ and ‘PASSWORD’ (do not remove the quotes)
Open your terminal and change the directory to where the program is located.
Run the script.
ruby nhentai.rb