I was trying to download a tune from clyp and the download button was not enabled. No fear, the API comes to the rescue and we can ignore this.
Youtube vidya to come later or whatever, maybe once I add list mode.
$ python ~/clyp.py https://clyp.it/hrvttfzp
{i} Uploader has disabled downloading. Who fucking cares.
{*} Got song title: Sabrepulse feat. Ten Thousand Free Men & Their Families - Chiptune Night
{*} Got mp3 url: http://a.clyp.it/hrvttfzp.mp3
{*} Saving file to Sabrepulse feat. Ten Thousand Free Men & Their Families - Chiptune Night.mp3
[################################] 3362/3362 - 00:00:10
{*} Done!
$
You will need the clint and requests modules for this.
pip install -r requirements.txt
Thanks to Sabrepulse for having tunes what were uploaded on there with the download button disabled ;)
I do strongly suggest you actually support artists and stuff, but if you are on a box where the web-player refuses to work, nothing wrong with 'solving' the problem creatively.
If you found this useful, donations to the beer/rum supply are always appreciated at the cryptocurrency bin of 13wUj3ZMut6uJAZKgZ4jCGz6tfqRvUzRgj
, or via My Coinbase