Script based on Ruvelro/Spotihosts which adds a few lines to hosts file to block Spotify ads.
Download the .dmg file and open it like a normal macOS file, then Exterminate Ads.
Clone this repo
git clone https://github.com/amgxv/SpotifyAdBlocker-macOS.git
and run spotyblock.sh
as root.
sudo ./spotyblock.sh