Zap2it free TV listings XML is no more. (3 Viewers)

mrceolla

Portal Pro
December 11, 2010
150
23
Home Country
United States of America United States of America
Yeah, the IP changes pretty often. I've attached a .bat file that I prompted AI to spit out. It will update a tvlistings.zap2it.com entry in your hosts file with results from nslookup. It needs to be run with admin privileges. I run this via Task Scheduler a couple minutes before I run zap2xml.exe.

Use at your own risk.

I searched for an updated zap2xml.exe file but could only find instructions to compile my own exe that may or may not work correctly and/or cause me to have to redo channel mapping, so I went with this route. If anyone finds a drop-in replacement .exe file please let me know.
 

Attachments

  • update-hosts-zap2it.zip
    817 bytes

pfilippone

Portal Member
January 7, 2025
8
6
Home Country
United States of America United States of America
Yeah, the IP changes pretty often. I've attached a .bat file that I prompted AI to spit out. It will update a tvlistings.zap2it.com entry in your hosts file with results from nslookup. It needs to be run with admin privileges. I run this via Task Scheduler a couple minutes before I run zap2xml.exe.

Use at your own risk.

I searched for an updated zap2xml.exe file but could only find instructions to compile my own exe that may or may not work correctly and/or cause me to have to redo channel mapping, so I went with this route. If anyone finds a drop-in replacement .exe file please let me know.

Thanks for the batch file! I wonder why the IP keeps changing. If they wanted to stop providing us with the service, they would just stop the program or service that generates the XML. Do you suppose one day we'll be able to have our AI agent generate the XML directly by scouring the web?
 

Noise672

Portal Member
August 9, 2015
49
18
70
Montreal
Home Country
Canada Canada
Thank you very much for the update-hosts-zap2it.bat

Works for me. Also, I have the Perl script zap2xml.pl if needed.

(y)
 

Zorba

Portal Member
December 13, 2009
24
2
Home Country
United States of America United States of America
Yeah, the IP changes pretty often. I've attached a .bat file that I prompted AI to spit out. It will update a tvlistings.zap2it.com entry in your hosts file with results from nslookup. It needs to be run with admin privileges. I run this via Task Scheduler a couple minutes before I run zap2xml.exe.

Use at your own risk.

I searched for an updated zap2xml.exe file but could only find instructions to compile my own exe that may or may not work correctly and/or cause me to have to redo channel mapping, so I went with this route. If anyone finds a drop-in replacement .exe file please let me know.
Thanks for the file, these IPs do change really quick it seems.
 

mrceolla

Portal Pro
December 11, 2010
150
23
Home Country
United States of America United States of America
I think that's just the way some hosting works these days. They don't have dedicated IPs. If the .pl or .exe file were targeting the correct domain name then updating the host file wouldn't be needed.
 

Zorba

Portal Member
December 13, 2009
24
2
Home Country
United States of America United States of America
I created a batch file that will run @mrceolla then run mc2xml if anyone wants to use it. Just have the task scheduler run the batch file in highest priority mode.

Edit: Won't let me attached a batch file. Just put the following in a text file and save it as a .bat file:

start update-hosts-zap2it.bat
start mc2xml.exe -o tvguide.xml
 

luckyj

New Member
April 14, 2025
3
0
Home Country
United States of America United States of America
If you run your own DNS, you can create a CNAME record for tvlistings.zap2it.com CNAME tvlistings.gracenote.com and be done with it :)
 

Airman

Portal Member
April 9, 2025
5
0
Home Country
United States of America United States of America
I updated my overair tv schedule a few days ago and it created a very small xml file and now I am not getting the tvlisting from gracenote anymore. Can someone please reply and let me know if gracenote is still working or is it my system that has stopped working. I manually get ip for gracenote and manually modify host file and use the old zap2it and it was working great until a few days ago. I am using MP1 if it matters. Thanks for the help.
 

luckyj

New Member
April 14, 2025
3
0
Home Country
United States of America United States of America
I just did an update and it seemed to work, got a large output file with many records in it.

tvlistings.gracenote.com resolved to 54.42.97.246
 

Users who are viewing this thread


Write your reply...
Top Bottom