Downloads an Audiomack track / album / playlist URL using the RapidAPI endpoints you provided.
- Create a virtualenv (optional) and install deps:
python -m pip install -U pip
python -m pip install -e .- Set your RapidAPI key (recommended) and host:
$env:RAPIDAPI_KEY="YOUR_KEY_HERE"
$env:RAPIDAPI_HOST="audiomack-scraper.p.rapidapi.com"Download into your default Downloads/AudiomackDL:
python main.py "https://audiomack.com/kendricklamar/song/not-like-us"
python main.py "https://audiomack.com/drake/album/for-all-the-dogs"
python main.py "https://audiomack.com/michael/playlist/rap-afrique"Choose output directory:
python main.py "https://audiomack.com/drake/album/for-all-the-dogs" --out ".\my_downloads"- This uses signed stream URLs returned by the API (
/audiomack/song/{id}/play). Those links can expire. - Do not hardcode your RapidAPI key in source code; use
RAPIDAPI_KEY.