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 .
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.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 306b24e7131aabd3f04c4271ce1ea4dfd08701baa33d5a7a37b1dd7d2ad7251c |
|
MD5 | 2c3c34ed207c7aba771f70d53cf4c6ac |
|
BLAKE2b-256 | 331f99e3d0aaeb80be1d8f7828aa396246a97ec3f7bb5939b7c076bddc1bd4bb |