hazelnut

command module
v0.0.0-...-e38b143 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

README

hazelnut

Simple Bandcamp collection syncronization & downloader utility.

Installation

go install github.com/apprehensions/hazelnut@latest

Usage

hazelnut requires the Cookie header made on bandcamp web requests.

To retrieve your Cookie header, you need to copy it from a bandcamp.com network request, which can be found in a network request in the 'Request Headers' section under the network requests tab in your browser.

Afterwards, you can copy the copied Cookie value to a file named hazelnut-cookies.txt, which hazelnut uses as the default cookies path (you may choose to change it with the -cookies flag).

Example usage:

hazelnut -format flac -o Music

Behavior

Music is downloaded to the given output directory (-o, default .) with this structure:

Music
├── Sadness
│   └── atna
│       ├── 01 daydreaming.m4a
│       ├── 02 how bright you shine.m4a
│       ├── 03 hope you never forget.m4a
│       └── cover.jpg
└── ghostslug
    └── Jikininki.flac

Music belonging to albums or tracks are saved without the artist and album in the filename, since said metadata is already represented in the directory structure.

If the track's file or album's directory already exists, it is skipped.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package bandcamp provides Web API access to undocumented user API.
Package bandcamp provides Web API access to undocumented user API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL