MIT License

项目介绍

hjerpbakk/ComicsDownloader 是一个托管在 GitHub 上的开源项目,主要使用 C# 编写,采用 MIT License 许可证,目前获得 4 个 Star、0 次 Fork。

仓库全名
hjerpbakk/ComicsDownloader
开源许可证
MIT License
Star 数
4
未关闭 Issue
1

README 摘要

Comics Downloader Comics Downloader is a dotnet script that will download comics from comics.io. It will start with a specified strip and continue until all strips are downloaded for the given comic. It can also optionally combine them into a .cbz-file, a comic archive. Basic usage This is a C# script written using dotnet script. It can be run from any CLI on any platform, or just as easily through Visual Studio…

完整内容见 GitHub 原始 README 或本页 。

常见问题

ComicsDownloader 用什么语言开发?

主要使用 C# 编写,采用 MIT License 许可证,目前有 4 个 Star。

ComicsDownloader 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 ComicsDownloader 的源码?

可以直接克隆仓库:git clone https://github.com/hjerpbakk/ComicsDownloader.git,默认分支为 master;安装与运行步骤见仓库 README。

ComicsDownloader 最近还在维护吗?

仓库最近一次更新为 2017年12月21日,当前有 1 个未关闭 Issue;Star 数为 4,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Comics Downloader is a dotnet script that will download comics from comics.io. It will start with a specified strip and continue until all strips are downloaded for the given comic.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
5
价值分
2
活跃状态
活跃

语言占比

C#

贡献者

README

Comics Downloader

Comics Downloader is a dotnet script that will download comics from comics.io. It will start with a specified strip and continue until all strips are downloaded for the given comic. It can also optionally combine them into a .cbz-file, a comic archive.

Basic usage

This is a C# script written using dotnet script. It can be run from any CLI on any platform, or just as easily through Visual Studio Code.

Installing dotnet script

First, make sure .Net Core is installed.

Then install dotnet script.

Running the script

Before the first run, create a copy of config.default.json and rename the copy to config.json. Fill inn the values as needed:

{
  "ComicName": "[The name of the Comic]",
  "AddressOfFirstComic": "[comics.io address of the first strip you want]",
  "LoginCookie": "[sessionid=SESSION; csrftoken=CSRFTOKEN]"
}

Run the script using this command:

dotnet script comicdownloader.csx

As the script runs, it will create the following directories and files:

.
├── comics
│   └── [ComicName]
│       └── originals
│           └── strip-1.img
│           └── ...
│           └── strip-n.img
├── [ComicName].dat

The strips are prefixed with the publication date, followed by the comic name and its number in the sequence, for example, 20090106-Rocky-00683.gif.

If the script is interrupted or you stop it manually, it will remember its progress and continue from the last downloaded comic. Otherwise, the script will download all the strips it finds of the given comic.

Advanced usage with arguments

Arguments in dotnet scripts are passed using --. Comics Downloader supports the following arguments:

dotnet script comicdownloader.csx -- m a

m - Optimize images (macOS only)

m uses ImageOptim to optimise the comic strips after download. This will happen continuously as each image is downloaded. If you specify m without ImageOptim installed or on another os than macOS, the script will fail.

a - Archive to CBZ

In addition to download the strips normally, a archives the comic strips into a .cbz-file. CBZ is a file format for comics and can be read by any modern comic reader app on any platform.

.
├── comics
│   └── [ComicName]
│       └── [ComicName].cbz

评论

暂无评论