Giter Club home page Giter Club logo

volumetochapterconverter's Introduction

Volume-to-Chapter Converter

To split a Comic / Manga volume into its chapters, run python ExtractChaptersFromVolume.py. If you are on Linux, you may need to replace python with python3

For the extraction to work, the filenames of your volume's images should look something like:

Series Title - c001 (v01) - p000 [optional chapter title] [some other stuff that doesn't matter].png

Series Title - 001x2 [optional chapter title] [some other stuff that doesn't matter].png

Series Title - 001 (v01) - p000 [some other stuff that doesn't matter] [optional chapter title].png

What's important is the c001 (v01) pattern. As long as the filenames follow it, or another commonly used format, your files should parse just fine

Parsing Chapter Titles

If the chapter title is part of an image's filename, and you want it added to the filename of the chapter, use the p / --parse argument to enable parsing, and pass the chapter title's index (which starts at 0) with -i / --index

Only the first file of each chapter will have its title parsed

Examples:

  • Series Title - c001 (v01) - p000 [Chapter Title] [sometingelse].jpg To get the chapter title, use -i 0
  • Series Title - c002 (v01) - p000 [sometingelse] [Chapter Title].jpg To get the chapter title, use -i 1

A negative index can also be used when there are an inconsistent amount of bracketed text to the left of the title:

  • Series Title - c001 (v01) - p000 [sometingelse] [Chapter Title].jpg
  • Series Title - c002 (v01) - p000 [sometingelse] [sometingextra] [Chapter Title].jpg To get the chapter title for both, use -i -1

Adding metadata to your new chapters

To bulk-add metadata to your chapters, I highly recommend ThePromidius's Manga-Manager and / or my BatchComicTagger, which can also scrape metadata from some Fandom wikis

volumetochapterconverter's People

Contributors

theicecreamtroll avatar arch-storm avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

arch-storm

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.