VinitraMk / getcomic-cli

A command line tool to download comics from readcomiconline.to
https://pypi.org/project/getcomic/
MIT License
7 stars 1 forks source link
command-line-tool pip python3

getcomic-cli

forthebadge made-with-python
A command line tool to download comics from readcomiconline.to

Features

Getting Started

Supported OS

Ubuntu

Prerequisites

  1. Python3
  2. pip3

Installation

  1. Install a headless browser
    A headless browser is required for this tool to automate web page interaction. The browser used here is Chrome.
    1. Install the latest version of chrome browser in your machine. Follow this link for the same.
    2. To upgrade google-chrome in Ubuntu 16.04 LTS, run the following command.
      sudo apt-get --only-upgrade install google-chrome-stable
    3. Now you need a Chrome Driver. Download the latest release of ChromeDriver from this site
    4. Navigate to the folder where you downloaded Chrome Driver and extract it's contents. Install the Chrome Driver by running the following commands.
      sudo chmod +x chromedriver
      sudo mv -f chromedriver /usr/local/share/chromedriver  
      sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
      sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver
  2. Install the package

    • Using pip
      sudo pip3 install getcomic

    • From source

      1. Clone this repo and navigate to this folder in your machine.
      2. Install using the following commands now.
        python3 setup.py build
        python3 setup.py install

Usage

  1. After installation is done, run the command getcomic and provide a readcomiconline url and the name of the directory where you want to download your files as arguments, as shown below.

The directory name you specified will be created in the home folder if not already present.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details