bandcamp-downloader


Namebandcamp-downloader JSON
Version 0.0.15 PyPI version JSON
download
home_pagehttps://github.com/iheanyi/bandcamp-dl
SummaryDownload audio from Bandcamp
upload_time2023-12-18 14:46:09
maintainer
docs_urlNone
authorIheanyi Ekechukwu
requires_python>=3.4
licenseThis is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org/>
keywords bandcamp downloader music cli albums dl
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            bandcamp-dl
===========

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 <https://github.com/iheanyi/bandcamp-dl/archive/master.zip>`_
2. ``cd`` to the project directory containing the ``setup.py``
3. ``python setup.py 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 <https://github.com/iheanyi/bandcamp-dl/issues>`_.
Please include the URL and/or options used as well as the output when using the `--debug` option.

For discussions, join us in `Discord <https://discord.gg/nwdT4MP>`_.

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 <https://github.com/iheanyi/bandcamp-dl/search?type=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 <https://github.com/iheanyi/bandcamp-dl/blob/master/README.rst#synopsis>`_.
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 <https://pypi.python.org/pypi/beautifulsoup4>`_ - HTML Parsing
-  `Demjson <https://pypi.python.org/pypi/demjson>`_- JavaScript dict to JSON conversion
-  `Mutagen <https://pypi.python.org/pypi/mutagen>`_ - ID3 Encoding
-  `Requests <https://pypi.python.org/pypi/requests>`_ - for retrieving the HTML
-  `Unicode-Slugify <https://pypi.python.org/pypi/unicode-slugify>`_ - A slug generator that turns strings into unicode slugs.
-  `Chardet <https://pypi.python.org/pypi/chardet>`_ - Character encoding detection
-  `Docopt <https://pypi.python.org/pypi/docopt>`_ - CLI help
-  `Six <https://pypi.python.org/pypi/six>`_ - Python 2-3 compatibility
-  `Unidecode <https://pypi.python.org/pypi/unidecode>`_ - ASCII representation of Unicode text

Copyright
---------

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

This README file was inspired by the
`youtube-dl <https://github.com/rg3/youtube-dl/blob/master/README.md>`_
docs and is likewise released into the public domain.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/iheanyi/bandcamp-dl",
    "name": "bandcamp-downloader",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.4",
    "maintainer_email": "",
    "keywords": "bandcamp,downloader,music,cli,albums,dl",
    "author": "Iheanyi Ekechukwu",
    "author_email": "Iheanyi Ekechukwu <iekechukwu@gmail.com>, Anthony Forsberg <forsberganthony@yahoo.com>",
    "download_url": "https://files.pythonhosted.org/packages/e5/4d/d463bcc20602f5385e0441cd7171b1fe6b67e2bb76240ae0f2684de6c022/bandcamp-downloader-0.0.15.tar.gz",
    "platform": null,
    "description": "bandcamp-dl\r\n===========\r\n\r\ndownload audio from BandCamp.com\r\n\r\nSynopsis\r\n--------\r\n\r\nbandcamp-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\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 <https://github.com/iheanyi/bandcamp-dl/archive/master.zip>`_\r\n2. ``cd`` to the project directory containing the ``setup.py``\r\n3. ``python setup.py 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 higher) and is\r\nnot platform specific. It is released to the public domain, which means\r\nyou can modify it, redistribute it or use it how ever 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 (\u00e5\u0152\u2014\u00e4\u00ba\u00ac (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 <https://github.com/iheanyi/bandcamp-dl/issues>`_.\r\nPlease include the URL and/or options used as well as the output when using the `--debug` option.\r\n\r\nFor discussions, join us in `Discord <https://discord.gg/nwdT4MP>`_.\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\r\n`Issues <https://github.com/iheanyi/bandcamp-dl/search?type=Issues>`_.\r\nIf there is an issue, feel free to write something along the lines of\r\n\"This affects me as well, with version 2015.01.01. Here is some more\r\ninformation on the issue: ...\". While some issues may be old, a new post\r\ninto them often spurs 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 `the list\r\nof supported\r\noptions <https://github.com/iheanyi/bandcamp-dl/blob/master/README.rst#synopsis>`_.\r\nMany feature requests are for features that actually exist already!\r\nPlease, absolutely do show off your work in the issue report and detail\r\nhow the existing similar options 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 <https://pypi.python.org/pypi/beautifulsoup4>`_ - HTML Parsing\r\n-  `Demjson <https://pypi.python.org/pypi/demjson>`_- JavaScript dict to JSON conversion\r\n-  `Mutagen <https://pypi.python.org/pypi/mutagen>`_ - ID3 Encoding\r\n-  `Requests <https://pypi.python.org/pypi/requests>`_ - for retrieving the HTML\r\n-  `Unicode-Slugify <https://pypi.python.org/pypi/unicode-slugify>`_ - A slug generator that turns strings into unicode slugs.\r\n-  `Chardet <https://pypi.python.org/pypi/chardet>`_ - Character encoding detection\r\n-  `Docopt <https://pypi.python.org/pypi/docopt>`_ - CLI help\r\n-  `Six <https://pypi.python.org/pypi/six>`_ - Python 2-3 compatibility\r\n-  `Unidecode <https://pypi.python.org/pypi/unidecode>`_ - ASCII representation of Unicode text\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\r\n`youtube-dl <https://github.com/rg3/youtube-dl/blob/master/README.md>`_\r\ndocs and is likewise released into the public domain.\r\n",
    "bugtrack_url": null,
    "license": "This is free and unencumbered software released into the public domain.  Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.  In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  For more information, please refer to <http://unlicense.org/> ",
    "summary": "Download audio from Bandcamp",
    "version": "0.0.15",
    "project_urls": {
        "Bug Tracker": "https://github.com/iheanyi/bandcamp-dl/issues",
        "Homepage": "https://github.com/iheanyi/bandcamp-dl"
    },
    "split_keywords": [
        "bandcamp",
        "downloader",
        "music",
        "cli",
        "albums",
        "dl"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b1e1fd03d567a652906a9eddee04949b37be4003e774d48b234dc7d35e56f707",
                "md5": "b737d654218dbe93a4490b4af7794874",
                "sha256": "3d67fd86bacf8a13629f9146976b50e2a54d2ea724cd61f3928f8a77bf90996a"
            },
            "downloads": -1,
            "filename": "bandcamp_downloader-0.0.15-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b737d654218dbe93a4490b4af7794874",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.4",
            "size": 19146,
            "upload_time": "2023-12-18T14:46:08",
            "upload_time_iso_8601": "2023-12-18T14:46:08.596376Z",
            "url": "https://files.pythonhosted.org/packages/b1/e1/fd03d567a652906a9eddee04949b37be4003e774d48b234dc7d35e56f707/bandcamp_downloader-0.0.15-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e54dd463bcc20602f5385e0441cd7171b1fe6b67e2bb76240ae0f2684de6c022",
                "md5": "01ce8f09389e281c2b53ce104d9f103d",
                "sha256": "2f7666c00e9cff39135d5c9fc0498bbc93d64684fcb13171cbd9584e31692ebb"
            },
            "downloads": -1,
            "filename": "bandcamp-downloader-0.0.15.tar.gz",
            "has_sig": false,
            "md5_digest": "01ce8f09389e281c2b53ce104d9f103d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.4",
            "size": 20271,
            "upload_time": "2023-12-18T14:46:09",
            "upload_time_iso_8601": "2023-12-18T14:46:09.976871Z",
            "url": "https://files.pythonhosted.org/packages/e5/4d/d463bcc20602f5385e0441cd7171b1fe6b67e2bb76240ae0f2684de6c022/bandcamp-downloader-0.0.15.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-18 14:46:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "iheanyi",
    "github_project": "bandcamp-dl",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "bandcamp-downloader"
}
        
Elapsed time: 0.19123s