This makes it easier for you to download files from hentai-cosplays.com or hentai-img.com without having to do it one by one, and you don't have to remember your download progress because we will take care of it.
Warning
This package may contain pornographic content, by using this package you agree that we and the contributors will not be responsible for any problems caused by this application.
Please make sure you have the following requirements installed below:
- SQLite3
- PHP 8.1 with curl, sqlite3, and mbstring extensions
Download the latest release from the releases page.
First you need to initialize the database by running the following command.
php hentai app:init
You need to crawl the URLs from the website. You can crawl a single URL using the following command.
php hentai img:crawl https://hentai-cosplays.com/image/coserpingping-misa-amane/
or you can crawl multiple URLs at once using a text file containing the URLs line by line.
php hentai img:crawl ./source.txt
After crawling the URLs, you can download the images using the following command.
By default, the images will be downloaded to the ~/.hentai/images
directory.
php hentai img:fetch
or you can set the download directory by adding output directory as the second argument.
php hentai img:fetch ~/output/
The MIT License (MIT). Please see License File for more information.