This script downloads the audio file embeded in the soundgasm.net url provided. It uses curl to download the html of the page, and wget to download the audio.
- curl - To download the html of the page
- wget - To download the file found by the script
Simply curl soundgasmget to your $PATH and grant it execute permissions.
$ curl https://raw.githubusercontent.com/BellsAndWhistles/soundgasmget/main/soundgasmget -o $HOME/.local/bin/soundgasmget
$ chmod +x $HOME.local/bin/soundgasmget
- To update the script, simply download it again using the above command.
- To uninstall the script, simply remove the file.
soundgasmget [OPTIONS]... [URL]...
The default behavior is to download the audio scraped from the given url and output it into a file based on the title.
- -s
Streams the audio from the given url to mpv.
- -o
Outputs the title and url of the audio.
- -d
Downloads the audio to the given file and streams the audio as it is downloading.
This project is licensed under GPL-3.0.