Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.92 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.92 KB

bato.dl

Script to download manga chapters from bato.to. Compatible with both v3x and v2x.

How to use

  • Install the required packages with the command: pip install -r requirements.txt

  • Run the script with the command python main.py and by providing one of the following command line arguments:

    • -s "series url" or --series "series url": Bato.to Series URL. Downloads entire series.
    • -c "chapter url" or --chapter "chapter url": Bato.to Chapter URL. Downloads only specified chapter.

    Example 1: python main.py -c "chapter url goes here"

    Example 2: python main.py -s "series url goes here"

  • Optional: If you want to enforce a Daiz-like naming scheme, please also add the -d command line argument.

    Example 3: python main.py -c "chapter url goes here" -d

    Example 4: python main.py -s "series url goes here" -d

  • Optional: You can choose your own file extension for the resulting images by specifying it with the -e argument (please refer to the Pillow Documentation for a the acceptable file formats). If not specified, the original file extension will be used.

    Example 3: python main.py -c "chapter url goes here" -e 'jpg'

    Example 4: python main.py -s "series url goes here" -d -e 'png'

  • Optional: After the download is finished you may run python mangaconverter.py to convert the manga images into a single pdf-file each chapter. (Don't forget to edit your folder path in line 7)

Contributions

Thank you everyone below for improving this project!

Thank you and enjoy :)