Skip to content

Basic usage

These Bash and Zsh examples assume you have installed the CLI and added CopyManga.

Open a terminal in the directory where you want to save the manga and pass the full series URL:

终端窗口
comic-dl d "https://www.copy20.com/comic/xiangkanbaitiantongxuederuanruobiaoqing"

The CLI matches the URL to an installed source and downloads the entire series to your current directory, one CBZ per chapter. d is short for download.

The CLI does not create a series folder. When downloading multiple series for a reader, use a separate output directory for each, such as -o ~/manga/series-name. CBZ filenames are based on chapter identifiers.

终端窗口
comic-dl d xiangkanbaitiantongxuederuanruobiaoqing --source copymanga -o ~/manga -c 2-4

A short ID has no domain, so use --source copymanga to select the source. -o sets the output directory. -c 2-4 selects the second through fourth entries in the chapter list, inclusive. An out-of-bounds range fails before anything is downloaded.

Search, list chapters, and download one chapter

Section titled “Search, list chapters, and download one chapter”
终端窗口
comic-dl search 'Do It Yourself' --source copymanga

Use the URL from the first column of the search results to list chapters. If the source supports browsing, omit the keyword to display the catalog. If the CLI reports another page, pass --page 2 or the appropriate page number.

终端窗口
series_url='https://www.copy20.com/comic/xiangkanbaitiantongxuederuanruobiaoqing'
comic-dl l "$series_url"

l is short for list. The first column is the chapter ID, and the second is its title. If you already have a supported chapter URL, replace the placeholder below and set the output directory with -o:

终端窗口
comic-dl chapter '<chapter URL>' -o ./downloads

See advanced usage to select by chapter ID, combine ranges, or change concurrency. The CopyManga extension README explains source-specific options such as chapter groups.