bandcamp_name_your_price_dl
Automate process of downloading name your price albums from bandcamp with Selenium.
Installation
pip install bandcamp_name_your_price_dl
Also you need to install a selenium browser driver. Refer to selenium installation guide.
Usage
usage: bandcamp_name_your_price_dl [-h] [--download-dir DOWNLOAD_DIR] [--encoding {mp3,mp3v0,flac,aac,ogg,alac,wav,aiff}] [--skip-nyp-check] [--wait-time SECONDS] [--preparing-wait-time SECONDS]
[--driver {chromium,chrome,edge,firefox,gecko,opera,phantomjs,safari,webkit}] [--show-browser-window] [--print-url] [--dont-skip-scraping] [--dont-skip-if-file-exists] [--ignore-cache] [--email EMAIL]
[--country-abbrev COUNTRY_ABBREV] [--postal-code POSTAL_CODE]
ALBUM_URL [DOWNLOAD_DIR]
Automate process of downloading name your price albums from bandcamp.
positional arguments:
ALBUM_URL url of desired bandcamp album
DOWNLOAD_DIR directory to download album to
options:
-h, --help show this help message and exit
--download-dir DOWNLOAD_DIR, -d DOWNLOAD_DIR
directory to download album to
--encoding {mp3,mp3v0,flac,aac,ogg,alac,wav,aiff}, -e {mp3,mp3v0,flac,aac,ogg,alac,wav,aiff}, --format {mp3,mp3v0,flac,aac,ogg,alac,wav,aiff}, -f {mp3,mp3v0,flac,aac,ogg,alac,wav,aiff}
desired encoding
--skip-nyp-check, --skip-name-your-price-check
don't check if album is name your price before trying to download
--wait-time SECONDS period to wait for pages loading (in seconds) (default is 10)
--preparing-wait-time SECONDS
period to wait for bandcamp preparing download (in seconds) (default is 60)
--driver {chromium,chrome,edge,firefox,gecko,opera,phantomjs,safari,webkit}, --webdriver {chromium,chrome,edge,firefox,gecko,opera,phantomjs,safari,webkit}
desired webdriver (default is chromium)
--show-browser-window
show browser window (is hidden by default)
--print-url, -p print url to stdout instead of downloading
--dont-skip-scraping don't skip scraping, if active download url exists in cache
--dont-skip-if-file-exists
don't skip downloading if desired file already exists in current directory or was already downloaded
--ignore-cache don't load cache and don't write anything to it
--email EMAIL your email address (is used if bandcamp asks for email)
--country-abbrev COUNTRY_ABBREV, --country COUNTRY_ABBREV
country abbreviation used if bandcamp asks for email
--postal-code POSTAL_CODE, --postcode POSTAL_CODE, --zip-code POSTAL_CODE
postal code used if bandcamp asks for email
Usage example
Download discography of an artist
To list albums of an artist you may use bandcamp_list_albums.
bandcamp-dl may be used to download not name your price albums.
for album in $(bandcamp_list_albums "$BANDCAMP_PAGE_URL" --print-urls)
do
bandcamp_name_your_price_dl "$album" || bandcamp-dl "$album"
done
You may also want to specify email, country and postcode in case bandcamp asks for those and download directory.
Metadata
Release files for bandcamp-name-your-price-dl 0.0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bandcamp_name_your_price_dl-0.0.14.tar.gz | 19.4 kB | Without provenance | Details for bandcamp_name_your_price_dl-0.0.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bandcamp_name_your_price_dl-0.0.14-py3-none-any.whl | Python 3 | none | any | Details for bandcamp_name_your_price_dl-0.0.14-py3-none-any.whl |
Total release size: 39.5 kB
Release files / bandcamp_name_your_price_dl-0.0.14.tar.gz
| Download URL | bandcamp_name_your_price_dl-0.0.14.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72efede312d70593de7db88a356a4f890c56e9010a4398adffeb35ca901b084e
|
|
BLAKE2b-256 checksum How to use checksums |
dd25c650b78a4e421c30defb9286af9cb7ac5fac0ef3fc602d913ca142529feb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / bandcamp_name_your_price_dl-0.0.14-py3-none-any.whl
| Download URL | bandcamp_name_your_price_dl-0.0.14-py3-none-any.whl |
|---|---|
| Size | 20.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18aa5c193bd76edfa027761b47b929449bf3f3b9c7ae1584eda18b8bd39073b2
|
|
BLAKE2b-256 checksum How to use checksums |
30a2eb531efbd32e861b54f829c00ecb650ca4b4167eb1207c0489a6146b8acc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for bandcamp-name-your-price-dl 0.0.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.