Or you could just keep using the service formerly known as zap2it at its new location, https://tvlistings.gracenote.com/grid-affiliates.html
If you were using the old zap2xml.pl program:
Open zap2xml.pl in nano (or your favorite text editor) and change the urlRoot value to point to Gracenote:
$urlRoot = 'https://tvlistings.gracenote.com/';
That will not require changing any of your existing links. Or, you could do the following, which will require selecting the new EPG source links:
sed -i 's/zap2it/gracenote/g' zap2xml.pl