bandcamp-downloader


Namebandcamp-downloader JSON
Version 0.0.16 PyPI version JSON
download
home_pageNone
Summarybandcamp-dl downloads albums and tracks from Bandcamp for you
upload_time2024-09-27 16:09:20
maintainerNone
docs_urlNone
authorNone
requires_python>=3.4
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            bandcamp-dl
===========
|PyPI pyversions| |PyPI download month| |PyPI license| |GitHub release| |GitHub commits|

Download audio from `bandcamp.com`_

Synopsis
--------

``bandcamp-dl URL``

Installation
------------

From PyPI
~~~~~~~~~

``pip3 install bandcamp-downloader``

Some linux distros may require that python3-pip is installed first.

From Wheel
~~~~~~~~~~

1. Download the wheel (``.whl``) from PyPI or the Releases page
2. ``cd`` to the directory containing the ``.whl`` file
3. ``pip install <filename>.whl``

[OSX] From Homebrew
~~~~~~~~~~~~~~~~~~~

``brew install bandcamp-dl``

[Arch] From the AUR
~~~~~~~~~~~~~~~~~~~

``yay -S bandcamp-dl-git``

From Source
~~~~~~~~~~~

1. Clone the project or `download and extract the zip`_
2. ``cd`` to the project directory
3. Run ``pip install .``

Description
-----------

bandcamp-dl is a small command-line app to download audio from
bandcamp.com. It requires the Python interpreter, version 3.4 (or
higher) and is not platform specific. It is released to the public
domain, which means you can modify it, redistribute it or use it how
ever you like.

Details
-------

::

    Usage:
        bandcamp-dl [options] [URL]

    Arguments:
        URL         Bandcamp album/track URL

Options
-------

::

    Options:
        -h --help               Show this screen.
        -v --version            Show version.
        -d --debug              Verbose logging.
        --artist=<artist>       The artist's slug (from the URL, --track or --album is required)
        --track=<track>         The track's slug (from the URL, for use with --artist)
        --album=<album>         The album's slug (from the URL, for use with --artist)
        --template=<template>   Output filename template.
                                [default: %{artist}/%{album}/%{track} - %{title}]
        --base-dir=<dir>        Base location of which all files are downloaded.
        -f --full-album         Download only if all tracks are available.
        -o --overwrite          Overwrite tracks that already exist. Default is False.
        -n --no-art             Skip grabbing album art.
        -e --embed-lyrics       Embed track lyrics (If available)
        -g --group              Use album/track Label as iTunes grouping.
        -r --embed-art          Embed album art (If available)
        -y --no-slugify         Disable slugification of track, album, and artist names.
        -c --ok-chars=<chars>   Specify allowed chars in slugify.
                                [default: -_~]
        -s --space-char=<char>  Specify the char to use in place of spaces.
                                [default: -]
        -a --ascii-only         Only allow ASCII chars (北京 (capital of china) -> bei-jing-capital-of-china)
        -k --keep-spaces        Retain whitespace in filenames
        -u --keep-upper         Retain uppercase letters in filenames

Filename Template
-----------------

The ``--template`` option allows users to indicate a template for the
output file names and directories. Templates can be built using special
tokens with the format of ``%{artist}``. Here is a list of allowed
tokens:

-  ``trackartist``: The artist name.
-  ``artist``: The album artist name.
-  ``album``: The album name.
-  ``track``: The track number.
-  ``title``: The track title.
-  ``date``: The album date.
-  ``label``: The album label.

The default template is: ``%{artist}/%{album}/%{track} - %{title}``.

Bugs
----

Bugs should be reported `here`_. Please include the URL and/or options
used as well as the output when using the `--debug` option.

For discussions, join us in `Discord`_.

When you submit a request, please re-read it once to avoid a couple of
mistakes (you can and should use this as a checklist):

Are you using the latest version?
---------------------------------

This should report that you're up-to-date. About 20% of the reports we
receive are already fixed, but people are using outdated versions. This
goes for feature requests as well.

Is the issue already documented?
--------------------------------

Make sure that someone has not already opened the issue you're trying to
open. Search at the top of the window or at `Issues`_. If there is an
issue, feel free to write something along the lines of "This affects me
as well, with version 2015.01.01. Here is some more information on the
issue: ...". While some issues may be old, a new post into them often
spurs rapid activity.

Why are existing options not enough?
------------------------------------

Before requesting a new feature, please have a quick peek at 
`the list of supported options`_.  Many feature requests are for
features that actually exist already!  Please, absolutely do show off
your work in the issue report and detail how the existing similar
options do *not* solve your problem.

Does the issue involve one problem, and one problem only?
---------------------------------------------------------

Some of our users seem to think there is a limit of issues they can or
should open. There is no limit of issues they can or should open. While
it may seem appealing to be able to dump all your issues into one
ticket, that means that someone who solves one of your issues cannot
mark the issue as closed. Typically, reporting a bunch of issues leads
to the ticket lingering since nobody wants to attack that behemoth,
until someone mercifully splits the issue into multiple ones.

Is anyone going to need the feature?
------------------------------------

Only post features that you (or an incapable friend you can
personally talk to) require. Do not post features because they seem like
a good idea. If they are really useful, they will be requested by
someone who requires them.

Is your question about bandcamp-dl?
-----------------------------------

It may sound strange, but some bug reports we receive are completely
unrelated to bandcamp-dl and relate to a different or even the
reporter's own application. Please make sure that you are actually using
bandcamp-dl. If you are using a UI for bandcamp-dl, report the bug to
the maintainer of the actual application providing the UI. On the other
hand, if your UI for bandcamp-dl fails in some way you believe is
related to bandcamp-dl, by all means, go ahead and report the bug.

Dependencies
------------

- `BeautifulSoup4`_ - HTML Parsing
- `Demjson`_- JavaScript dict to JSON conversion
- `Mutagen`_ - ID3 Encoding
- `Requests`_ - for retrieving the HTML

Copyright
---------

bandcamp-dl is released into the public domain by the copyright holders

This README file was inspired by the `youtube-dl`_ docs and is likewise
released into the public domain.


.. _download and extract the zip: https://github.com/iheanyi/bandcamp-dl/archive/master.zip
.. _here: https://github.com/iheanyi/bandcamp-dl/issues
.. _Discord: https://discord.gg/nwdT4MP
.. _bandcamp.com: https://www.bandcamp.com
.. _Issues: https://github.com/iheanyi/bandcamp-dl/search?type=Issues
.. _the list of supported options: https://github.com/iheanyi/bandcamp-dl/blob/master/README.rst#synopsis
.. _BeautifulSoup4: https://pypi.python.org/pypi/beautifulsoup4 
.. _Demjson: https://pypi.python.org/pypi/demjson
.. _Mutagen: https://pypi.python.org/pypi/mutagen
.. _Requests: https://pypi.python.org/pypi/requests
.. _youtube-dl: https://github.com/rg3/youtube-dl/blob/master/README.md

.. |PyPI pyversions| image:: https://img.shields.io/pypi/pyversions/bandcamp-downloader.svg
   :target: https://pypi.python.org/pypi/bandcamp-downloader/


.. |PyPI download month| image:: https://img.shields.io/pypi/dm/bandcamp-downloader.svg
   :target: https://pypi.python.org/pypi/bandcamp-downloader/


.. |PyPI license| image:: https://img.shields.io/pypi/l/bandcamp-downloader.svg
   :target: https://pypi.python.org/pypi/bandcamp-downloader/


.. |GitHub release| image:: https://img.shields.io/github/release/Iheanyi/bandcamp-dl.svg
   :target: https://GitHub.com/iheanyi/bandcamp-dl/releases/


.. |GitHub commits| image:: https://img.shields.io/github/commits-since/Iheanyi/bandcamp-dl/v0.0.16.svg
   :target: https://GitHub.com/iheanyi/bandcamp-dl/commit/

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "bandcamp-downloader",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.4",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Iheanyi Ekechukwu <iekechukwu@gmail.com>, Anthony Forsberg <forsberganthony@yahoo.com>",
    "download_url": "https://files.pythonhosted.org/packages/c2/a3/8310ccc91deeacb9901f398e136a96ecb401d3bed272bc3731afa0edd3e7/bandcamp_downloader-0.0.16.tar.gz",
    "platform": null,
    "description": "bandcamp-dl\r\n===========\r\n|PyPI pyversions| |PyPI download month| |PyPI license| |GitHub release| |GitHub commits|\r\n\r\nDownload audio from `bandcamp.com`_\r\n\r\nSynopsis\r\n--------\r\n\r\n``bandcamp-dl URL``\r\n\r\nInstallation\r\n------------\r\n\r\nFrom PyPI\r\n~~~~~~~~~\r\n\r\n``pip3 install bandcamp-downloader``\r\n\r\nSome linux distros may require that python3-pip is installed first.\r\n\r\nFrom Wheel\r\n~~~~~~~~~~\r\n\r\n1. Download the wheel (``.whl``) from PyPI or the Releases page\r\n2. ``cd`` to the directory containing the ``.whl`` file\r\n3. ``pip install <filename>.whl``\r\n\r\n[OSX] From Homebrew\r\n~~~~~~~~~~~~~~~~~~~\r\n\r\n``brew install bandcamp-dl``\r\n\r\n[Arch] From the AUR\r\n~~~~~~~~~~~~~~~~~~~\r\n\r\n``yay -S bandcamp-dl-git``\r\n\r\nFrom Source\r\n~~~~~~~~~~~\r\n\r\n1. Clone the project or `download and extract the zip`_\r\n2. ``cd`` to the project directory\r\n3. Run ``pip install .``\r\n\r\nDescription\r\n-----------\r\n\r\nbandcamp-dl is a small command-line app to download audio from\r\nbandcamp.com. It requires the Python interpreter, version 3.4 (or\r\nhigher) and is not platform specific. It is released to the public\r\ndomain, which means you can modify it, redistribute it or use it how\r\never you like.\r\n\r\nDetails\r\n-------\r\n\r\n::\r\n\r\n    Usage:\r\n        bandcamp-dl [options] [URL]\r\n\r\n    Arguments:\r\n        URL         Bandcamp album/track URL\r\n\r\nOptions\r\n-------\r\n\r\n::\r\n\r\n    Options:\r\n        -h --help               Show this screen.\r\n        -v --version            Show version.\r\n        -d --debug              Verbose logging.\r\n        --artist=<artist>       The artist's slug (from the URL, --track or --album is required)\r\n        --track=<track>         The track's slug (from the URL, for use with --artist)\r\n        --album=<album>         The album's slug (from the URL, for use with --artist)\r\n        --template=<template>   Output filename template.\r\n                                [default: %{artist}/%{album}/%{track} - %{title}]\r\n        --base-dir=<dir>        Base location of which all files are downloaded.\r\n        -f --full-album         Download only if all tracks are available.\r\n        -o --overwrite          Overwrite tracks that already exist. Default is False.\r\n        -n --no-art             Skip grabbing album art.\r\n        -e --embed-lyrics       Embed track lyrics (If available)\r\n        -g --group              Use album/track Label as iTunes grouping.\r\n        -r --embed-art          Embed album art (If available)\r\n        -y --no-slugify         Disable slugification of track, album, and artist names.\r\n        -c --ok-chars=<chars>   Specify allowed chars in slugify.\r\n                                [default: -_~]\r\n        -s --space-char=<char>  Specify the char to use in place of spaces.\r\n                                [default: -]\r\n        -a --ascii-only         Only allow ASCII chars (\u5317\u4eac (capital of china) -> bei-jing-capital-of-china)\r\n        -k --keep-spaces        Retain whitespace in filenames\r\n        -u --keep-upper         Retain uppercase letters in filenames\r\n\r\nFilename Template\r\n-----------------\r\n\r\nThe ``--template`` option allows users to indicate a template for the\r\noutput file names and directories. Templates can be built using special\r\ntokens with the format of ``%{artist}``. Here is a list of allowed\r\ntokens:\r\n\r\n-  ``trackartist``: The artist name.\r\n-  ``artist``: The album artist name.\r\n-  ``album``: The album name.\r\n-  ``track``: The track number.\r\n-  ``title``: The track title.\r\n-  ``date``: The album date.\r\n-  ``label``: The album label.\r\n\r\nThe default template is: ``%{artist}/%{album}/%{track} - %{title}``.\r\n\r\nBugs\r\n----\r\n\r\nBugs should be reported `here`_. Please include the URL and/or options\r\nused as well as the output when using the `--debug` option.\r\n\r\nFor discussions, join us in `Discord`_.\r\n\r\nWhen you submit a request, please re-read it once to avoid a couple of\r\nmistakes (you can and should use this as a checklist):\r\n\r\nAre you using the latest version?\r\n---------------------------------\r\n\r\nThis should report that you're up-to-date. About 20% of the reports we\r\nreceive are already fixed, but people are using outdated versions. This\r\ngoes for feature requests as well.\r\n\r\nIs the issue already documented?\r\n--------------------------------\r\n\r\nMake sure that someone has not already opened the issue you're trying to\r\nopen. Search at the top of the window or at `Issues`_. If there is an\r\nissue, feel free to write something along the lines of \"This affects me\r\nas well, with version 2015.01.01. Here is some more information on the\r\nissue: ...\". While some issues may be old, a new post into them often\r\nspurs rapid activity.\r\n\r\nWhy are existing options not enough?\r\n------------------------------------\r\n\r\nBefore requesting a new feature, please have a quick peek at \r\n`the list of supported options`_.  Many feature requests are for\r\nfeatures that actually exist already!  Please, absolutely do show off\r\nyour work in the issue report and detail how the existing similar\r\noptions do *not* solve your problem.\r\n\r\nDoes the issue involve one problem, and one problem only?\r\n---------------------------------------------------------\r\n\r\nSome of our users seem to think there is a limit of issues they can or\r\nshould open. There is no limit of issues they can or should open. While\r\nit may seem appealing to be able to dump all your issues into one\r\nticket, that means that someone who solves one of your issues cannot\r\nmark the issue as closed. Typically, reporting a bunch of issues leads\r\nto the ticket lingering since nobody wants to attack that behemoth,\r\nuntil someone mercifully splits the issue into multiple ones.\r\n\r\nIs anyone going to need the feature?\r\n------------------------------------\r\n\r\nOnly post features that you (or an incapable friend you can\r\npersonally talk to) require. Do not post features because they seem like\r\na good idea. If they are really useful, they will be requested by\r\nsomeone who requires them.\r\n\r\nIs your question about bandcamp-dl?\r\n-----------------------------------\r\n\r\nIt may sound strange, but some bug reports we receive are completely\r\nunrelated to bandcamp-dl and relate to a different or even the\r\nreporter's own application. Please make sure that you are actually using\r\nbandcamp-dl. If you are using a UI for bandcamp-dl, report the bug to\r\nthe maintainer of the actual application providing the UI. On the other\r\nhand, if your UI for bandcamp-dl fails in some way you believe is\r\nrelated to bandcamp-dl, by all means, go ahead and report the bug.\r\n\r\nDependencies\r\n------------\r\n\r\n- `BeautifulSoup4`_ - HTML Parsing\r\n- `Demjson`_- JavaScript dict to JSON conversion\r\n- `Mutagen`_ - ID3 Encoding\r\n- `Requests`_ - for retrieving the HTML\r\n\r\nCopyright\r\n---------\r\n\r\nbandcamp-dl is released into the public domain by the copyright holders\r\n\r\nThis README file was inspired by the `youtube-dl`_ docs and is likewise\r\nreleased into the public domain.\r\n\r\n\r\n.. _download and extract the zip: https://github.com/iheanyi/bandcamp-dl/archive/master.zip\r\n.. _here: https://github.com/iheanyi/bandcamp-dl/issues\r\n.. _Discord: https://discord.gg/nwdT4MP\r\n.. _bandcamp.com: https://www.bandcamp.com\r\n.. _Issues: https://github.com/iheanyi/bandcamp-dl/search?type=Issues\r\n.. _the list of supported options: https://github.com/iheanyi/bandcamp-dl/blob/master/README.rst#synopsis\r\n.. _BeautifulSoup4: https://pypi.python.org/pypi/beautifulsoup4 \r\n.. _Demjson: https://pypi.python.org/pypi/demjson\r\n.. _Mutagen: https://pypi.python.org/pypi/mutagen\r\n.. _Requests: https://pypi.python.org/pypi/requests\r\n.. _youtube-dl: https://github.com/rg3/youtube-dl/blob/master/README.md\r\n\r\n.. |PyPI pyversions| image:: https://img.shields.io/pypi/pyversions/bandcamp-downloader.svg\r\n   :target: https://pypi.python.org/pypi/bandcamp-downloader/\r\n\r\n\r\n.. |PyPI download month| image:: https://img.shields.io/pypi/dm/bandcamp-downloader.svg\r\n   :target: https://pypi.python.org/pypi/bandcamp-downloader/\r\n\r\n\r\n.. |PyPI license| image:: https://img.shields.io/pypi/l/bandcamp-downloader.svg\r\n   :target: https://pypi.python.org/pypi/bandcamp-downloader/\r\n\r\n\r\n.. |GitHub release| image:: https://img.shields.io/github/release/Iheanyi/bandcamp-dl.svg\r\n   :target: https://GitHub.com/iheanyi/bandcamp-dl/releases/\r\n\r\n\r\n.. |GitHub commits| image:: https://img.shields.io/github/commits-since/Iheanyi/bandcamp-dl/v0.0.16.svg\r\n   :target: https://GitHub.com/iheanyi/bandcamp-dl/commit/\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "bandcamp-dl downloads albums and tracks from Bandcamp for you",
    "version": "0.0.16",
    "project_urls": {
        "Documentation": "https://github.com/iheanyi/bandcamp-dl/blob/master/README.rst",
        "Source": "https://github.com/iheanyi/bandcamp-dl",
        "Tracker": "https://github.com/iheanyi/bandcamp-dl/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a0c11bb96da49267f0ac5aa3c128252ef1c5754a5e4e1e586c4d959a540aa913",
                "md5": "ebcca384b11fe8b8c0718df4a53d9e01",
                "sha256": "251b8cdde1ed665ff963387d43f5179862a589ccf82c48ee53eab7a5ff9374fb"
            },
            "downloads": -1,
            "filename": "bandcamp_downloader-0.0.16-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ebcca384b11fe8b8c0718df4a53d9e01",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.4",
            "size": 17362,
            "upload_time": "2024-09-27T16:09:19",
            "upload_time_iso_8601": "2024-09-27T16:09:19.596150Z",
            "url": "https://files.pythonhosted.org/packages/a0/c1/1bb96da49267f0ac5aa3c128252ef1c5754a5e4e1e586c4d959a540aa913/bandcamp_downloader-0.0.16-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c2a38310ccc91deeacb9901f398e136a96ecb401d3bed272bc3731afa0edd3e7",
                "md5": "a2d0c2476b128589498d3b6fe67c6870",
                "sha256": "cb0c7495b1cf021c90d4332beca3e0773a3906eb64c3467da1c18eff2560aa42"
            },
            "downloads": -1,
            "filename": "bandcamp_downloader-0.0.16.tar.gz",
            "has_sig": false,
            "md5_digest": "a2d0c2476b128589498d3b6fe67c6870",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.4",
            "size": 18130,
            "upload_time": "2024-09-27T16:09:20",
            "upload_time_iso_8601": "2024-09-27T16:09:20.614320Z",
            "url": "https://files.pythonhosted.org/packages/c2/a3/8310ccc91deeacb9901f398e136a96ecb401d3bed272bc3731afa0edd3e7/bandcamp_downloader-0.0.16.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-27 16:09:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "iheanyi",
    "github_project": "bandcamp-dl",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "bandcamp-downloader"
}
        
Elapsed time: 0.61658s