-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,52 @@ | ||
# Hentai Cosplay | ||
# Hentai Downloader | ||
|
||
## Requirements | ||
|
||
- SQLite3 | ||
- PHP 8.1 with curl, sqlite3, and mbstring extensions | ||
|
||
## Installation | ||
|
||
Download the latest release from the [releases page](https://github.com/SupianIDz/HentaiCosplay/releases). | ||
|
||
## Usage | ||
|
||
```bash | ||
php hentai | ||
``` | ||
|
||
<img src="examples/1.png" alt=""> | ||
|
||
### Crawl URLs | ||
|
||
First, you need to crawl the URLs from the website. You can crawl a single URL using the following command. | ||
|
||
```bash | ||
php hentai img:crawl https://hentai-cosplays.com/image/coserpingping-misa-amane/ | ||
``` | ||
|
||
<img src="examples/2.png" alt=""> | ||
|
||
or you can crawl multiple URLs at once using a text file containing the URLs line by line. | ||
|
||
```bash | ||
php hentai img:crawl source.txt | ||
``` | ||
|
||
<img src="examples/3.png" alt=""> | ||
|
||
### Getting Images | ||
|
||
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. | ||
|
||
```bash | ||
php hentai img:fetch | ||
``` | ||
|
||
or you can set the download directory by adding output directory as the second argument. | ||
|
||
```bash | ||
php hentai img:fetch ~/output/ | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.