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

https://github.com/shivajichalise/dc

simple bash script to download comics.
https://github.com/shivajichalise/dc

bash comic readcomiconline script

Last synced: 4 months ago
JSON representation

simple bash script to download comics.

Awesome Lists containing this project

README

          

# **d**ownload **c**omic

a simple bash script which I sometimes use to download comics.

> NOTE: it requires wget, soffice and pdfunite to run

```
pacman -S wget poppler libreoffice
apt install wget poppler-utils libreoffice
```

## Installing

For the current user:

```
curl https://raw.githubusercontent.com/shivajichalise/dc/main/dc > ~/usr/local/bin/dc && chmod +755 ~/usr/local/bin/dc
```

Or simply copy the `dc` file to a location in your `$PATH` and make it executable.

## Usage

- goto https://readcomicsfree.com/, search your desired comics and open a issue
- make sure you have selected 'All pages' from the listed dropdown options
- copy the url which will look like

```
https://readcomicsfree.com/comic/what-if-spider-man-vs-wolverine/issue-full/all
```

- execute the script

```sh
dc
# example
dc https://readcomicsfree.com/comic/what-if-spider-man-vs-wolverine/issue-full/all
```

- it'll ask for a name, give an appropriate name
- wait till it completes executing
- enjoy

## How it works

this script downloads every image from the given url, converts them into pdf and merges every pdf into a single one

## Self-Promotion

Star the repository on [Github](https://github.com/shivajichalise/dc)

Follow [shivajichalise](http://shivajichalise.com.np) on [Github](https://github.com/shivajichalise)