Scrape online audio with a simple command-line interface.
Project description
Audioscrape
Scrape audio from various websites with a simple command-line interface.
Usage
First make sure Python is installed, then run:
pip install audioscrape
Then you can use the program as:
audioscrape "acoustic guitar"
See audioscrape --help
for more details.
Python API
You can also use the scraper directly in Python, as:
import audioscrape
audioscrape.download(
query="Cerulean Crayons",
include=["guitar"],
exclude=["remix"],
quiet=True,
)
Develop
First clone the repo and set it as working directory. Then install the package in development mode (preferably within its own virtual environment):
pip install -e .[tests]
If you have direnv
installed, you can run direnv allow
to automatically create and activate a Python virtual environment when you enter the directory.
Test
pytest
Lint
pre-commit run --all-files
Or pre-commit install
to run automatically on git commit
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for audioscrape-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31713fde67aa961572b75b74c8a9917c6d9d106f12a0d2a60df9816c083fbc27 |
|
MD5 | 2aae5c824048c68deb93d6dab0b2e86e |
|
BLAKE2b-256 | 1782e355f7ce2c9957d9b1d2fd1960be86467b85fa527df252c20482ee10fa4e |