from pathlib import Path import zipfile updated_html = """ New Hope Lutheran Church - Sunday Service Viewer

New Hope Lutheran Church
Sunday Morning Service

Tap or click to turn on sound
Sound is muted.
Tap or click here to turn on sound when the service begins.

Having trouble? Open the live stream directly on YouTube

""" out_path = Path("/mnt/data/index_nhlc_youtube_viewer_buttons_outside.html") out_path.write_text(updated_html, encoding="utf-8") zip_path = Path("/mnt/data/nhlc_youtube_viewer_buttons_outside.zip") with zipfile.ZipFile(zip_path, "w", zipfile.ZIP_DEFLATED) as z: z.write(out_path, arcname="index.html") print(f"Created {out_path}") print(f"Created {zip_path}")