Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.3 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.3 KB

download comic

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
dc <url-here>
# 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

Follow shivajichalise on Github