Wrote this little script to combine widevine_keys with XstreamDL-CLI to download IPTV content with a handy terminal menu Info
More info can be found at my website
First run:
cd iptv-downloader
python3 -m venv venv
pip3 install -r requirements.txt
python downloader.py