Giter Site home page Giter Site logo

mangadl's Introduction

MangaDL

A Python script to crawl a comic site and extract chapters. The script will write files to a specified directory, and will place all images in their respective folder per chapter.

Currently only works for the following websites: manganelo, mangakakalot

Usage

  • Ensure both mangadl.py and run_mangadl.bat are in the same directory.
  • Find the comic to download (example: https://manganelo.com/manga/peerless_dad)
  • Edit the batch file and add two arguments: the website and the folder name.
  • For every comic to download, call another python line (sample below).
  • ECHO are optional (for debugging purposes).
  • Click and run the batch file.
@ECHO OFF

python "%~dp0\mangadl.py" "website1" "folder1"
ECHO completed: comic1 & ECHO.

python "%~dp0\mangadl.py" "website2" "folder2"
ECHO completed: comic2 & ECHO.

PAUSE

Plans

  • check a folder if it has no files

Updates

  • 12/19/2019 - Implemented batch scripting for repeated ease of use and renamed some methods for visual consistency
  • 12/19/2019 - Modified a line to skip folders that already exist for faster updates
  • 12/03/2019 - Implemented automatic check for available cores for multi-processing; automatic file skip if files exists already, for ease of updating
  • 12/02/2019 - Implemented multi-processing; reduced processing time from 10 chapters/minute to 100 chapters/minute; 571s to 83s
  • 12/02/2019 - Modified for single input; less manual modifications
  • 11/30/2019 - First implementation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.