Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nikolai2038/webtoons-parser
- Owner: Nikolai2038
- Created: 2023-08-30T14:51:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-30T22:08:06.000Z (over 1 year ago)
- Last Synced: 2023-08-31T07:51:12.446Z (over 1 year ago)
- Topics: bash, parsing, webtoon, webtoons
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)!