A lightweight Python script to block Spotify advertisements on macOS while maintaining full music playback functionality.
- Blocks Spotify advertisements effectively
- Preserves music playback functionality
- Automatic DNS cache flushing
- Backup of original hosts file
- Easy to enable/disable
- macOS
- Python 3.6 or higher
- Administrative privileges
- Spotify desktop application
- Clone this repository
- Install required packages:
pip install psutil
git clone https://github.com/AnkanRoy85473/spotify_adblocker.git
cd spotify_adblocker