0.1.0 2021年10月5日

#7 in #bandcamp

GPL-3.0 许可证

29KB
328 代码行

bcdl

命令行Bandcamp下载器。

安装

从crates.io

$ cargo install bcdl

从发布页面

$ curl https://github.com/grantshandy/bcdl/releases/download/0.1.0/bcdl-0.1.0-linux_x86_64

注意:发布页面也包含Windows构建。

示例

$ bcdl --url https://citiesaviv.bandcamp.com/album/gum-2
Downloading album page...
Downloading Track 1 - (I SEEN YOU) SHINE     5M [#################################################] 100%
Downloading Track 2 - OVER                   2M [#################################################] 100%
Downloading Track 3 - WORLD MADE OF MARBLE   5M [#################################################] 100%
Downloading Track 4 - SUDDENLY EVAPORATE     2M [#################################################] 100%
Downloading Track 5 - CALL TOWER             1M [#################################################] 100%
Downloading Track 6 - MOBO                   1M [#################################################] 100%
Downloading Track 7 - STANDING BY THE 260    6M [#################################################] 100%
Downloading Track 8 - GESTURES               8M [#################################################] 100%
Downloading Track 9 - TAMIKA                 2M [#################################################] 100%
Downloading Track 10 - POWER APPROACHES     43M [#################################################] 100%
Downloaded 10 Tracks and 77.62M in 11 Seconds.

命令行选项

bcdl 0.1.0
Grant Handy <grantshandy@gmail.com>
A command line bandcamp downloader

USAGE:
    bcdl [FLAGS] [OPTIONS] --url <url>

FLAGS:
    -d, --debug      Don't actually save the songs for debugging purposes
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -p, --path <path>    Path to save songs to
    -u, --url <url>      Download from bandcamp URL

依赖关系

~11–27MB
~379K SLoC