Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nikolai2038/webtoons-parser

Bash script to download images from www.webtoons.com
https://github.com/nikolai2038/webtoons-parser

bash parsing webtoon webtoons

Last synced: about 2 months ago
JSON representation

Bash script to download images from www.webtoons.com

Awesome Lists containing this project

README

        

# Webtoons Parser

**EN** | [RU](README_RU.md)

## Description

This Bash-script allows you to download images from [www.webtoon.com](www.webtoon.com).

I created this script in order to make it convenient to quickly view all the pictures of a certain webtoon, select the necessary ones from them, and create AMVs/edits.

## Requirements

- GIT;
- Bash.

Script was tested in WSL Debian on Windows 10.
Should work on MINGW in Windows 10 too, because script uses only `curl`, `sed` and base commands.

## Usage

1. Clone the repository:

```bash
git pull https://github.com/Nikolai2038/webtoons-parser.git
cd webtoons-parser
```

2. Run script:

```bash
./script.sh
```

To get `` just open any webtoon's episode and copy URL from address bar.

After executing command, script will start to download all images into `./downloads//img` directory (this directory will be created automatically).
Images will be named `_.jpg`.

Additionally, script cache all html pages inside `./downloads//html` directory to reduce the number of requests for repeated script calls.

Script also does not download image, if it's filename exists.
So if you want to redownload images - just delete them.
Same for html files.

## Example

To download first 5 episodes of [unOrdinary](https://www.webtoons.com/en/super-hero/unordinary/list?title_no=679) webtoon we need to run:

```bash
./script.sh "https://www.webtoons.com/en/super-hero/unordinary/prologue/viewer?title_no=679&episode_no=" "5"
```

## Contribution

Feel free to contribute via [pull requests](https://github.com/Nikolai2038/webtoons-parser/pulls) or [issues](https://github.com/Nikolai2038/webtoons-parser/issues)!