Zap2it free TV listings XML is no more. (2 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?
 

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
1
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 :)
 

Users who are viewing this thread

Top Bottom