WebSite: https://tvlistings.gracenote.com/grid-affiliates.html?aid=lat

Step 1: Clone the GitHub Repo

mkdir shuaiscott_zap2xml
cd shuaiscott_zap2xml
git clone https://github.com/shuaiscott/zap2xml.git
cd zap2xml

Step 2: Modify zap2xml.pl

sed -i 's/zap2it/gracenote/g' zap2xml.pl

Step 3: Build the Custom Docker Image

docker build -t my-shuaiscott-zap2xml .

Step 4: Create Docker Compose File Out the Zap2Xml Folder

mkdir docker/zap2xml
cd docker/zap2xml
nano docker-compose.yml
version: '3'
services:
  zap2xml:
    container_name: zap2xml
    image: my-shuaiscott-zap2xml
    volumes:
      - /xmltvdata:/data
    environment:
      - [email protected]
      - PASSWORD=**password**
      - OPT_ARGS=-I -D -a
#      - [email protected]
#      - PASSWORD2=**secondpassword**
#      - OPT_ARGS2=-I -D
      - XMLTV_FILENAME=xmltv.xml
    restart: unless-stopped

Step 5: Run the Container

docker-compose up -d

Step 6: Verify Output

cat /xmltvdata/xmltv.xml