fix: 🩹 missing headers on 2hdp
All checks were successful
dl / lint (push) Successful in 1m45s
dl / docker (push) Successful in 1m45s

This commit is contained in:
Michel Roux 2024-12-01 13:31:31 +01:00
parent 97467b5c54
commit 3351f8ed99

View File

@ -33,6 +33,7 @@ client = Client(
movies = [] movies = []
torrents = client.get_torrents() torrents = client.get_torrents()
writer = DictWriter(stdout, fieldnames=["season", "title", "hash", "url"]) writer = DictWriter(stdout, fieldnames=["season", "title", "hash", "url"])
writer.writeheader()
tree = ElementTree.fromstring(get("https://feed.ausha.co/Loa7srdWGm1b").text) tree = ElementTree.fromstring(get("https://feed.ausha.co/Loa7srdWGm1b").text)