From d8acdda0447055840d07a0293f4f2184341ad69d Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Sun, 12 Mar 2023 00:09:02 +0000 Subject: [PATCH] Silence DASH and HLS logs unless it's the last attempt --- devine/core/manifests/dash.py | 1 + devine/core/manifests/hls.py | 1 + 2 files changed, 2 insertions(+) diff --git a/devine/core/manifests/dash.py b/devine/core/manifests/dash.py index fe8d1de..455fa16 100644 --- a/devine/core/manifests/dash.py +++ b/devine/core/manifests/dash.py @@ -475,6 +475,7 @@ class DASH: out=segment_save_path, headers=session.headers, proxy=proxy, + silent=attempts != 5, segmented=True )) break diff --git a/devine/core/manifests/hls.py b/devine/core/manifests/hls.py index 79948f2..bb34c8a 100644 --- a/devine/core/manifests/hls.py +++ b/devine/core/manifests/hls.py @@ -308,6 +308,7 @@ class HLS: out=segment_save_path, headers=session.headers, proxy=proxy, + silent=attempts != 5, segmented=True )) break