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
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.
- 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
this script downloads every image from the given url, converts them into pdf and merges every pdf into a single one
Star the repository on Github
Follow shivajichalise on Github