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.
Release files for audioscrape 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| audioscrape-0.3.1.tar.gz | 3.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| audioscrape-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 MB
Release files / audioscrape-0.3.1.tar.gz
| Download URL | audioscrape-0.3.1.tar.gz |
|---|---|
| Size | 3.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bdec301880dd0283be9ee32e5da4d3db4a140cd198c1298756c56e260e453ae
|
|
BLAKE2b-256 checksum How to use checksums |
01d423fbf4de2097cc05b356f9f76669228fc5806b68d33e6b3d6c469c389ee0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / audioscrape-0.3.1-py3-none-any.whl
| Download URL | audioscrape-0.3.1-py3-none-any.whl |
|---|---|
| Size | 3.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31713fde67aa961572b75b74c8a9917c6d9d106f12a0d2a60df9816c083fbc27
|
|
BLAKE2b-256 checksum How to use checksums |
1782e355f7ce2c9957d9b1d2fd1960be86467b85fa527df252c20482ee10fa4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|