From 3351f8ed99a5bb514bf460a2b1a873b993269193 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 1 Dec 2024 13:31:31 +0100 Subject: [PATCH] fix: :adhesive_bandage: missing headers on 2hdp --- commands/2hdp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/2hdp.py b/commands/2hdp.py index abb8121..c2d87a3 100755 --- a/commands/2hdp.py +++ b/commands/2hdp.py @@ -33,6 +33,7 @@ client = Client( movies = [] torrents = client.get_torrents() writer = DictWriter(stdout, fieldnames=["season", "title", "hash", "url"]) +writer.writeheader() tree = ElementTree.fromstring(get("https://feed.ausha.co/Loa7srdWGm1b").text)