forked from DRMTalks/devine
Silence DASH and HLS logs unless it's the last attempt
This commit is contained in:
parent
055bc927f5
commit
d8acdda044
|
@ -475,6 +475,7 @@ class DASH:
|
||||||
out=segment_save_path,
|
out=segment_save_path,
|
||||||
headers=session.headers,
|
headers=session.headers,
|
||||||
proxy=proxy,
|
proxy=proxy,
|
||||||
|
silent=attempts != 5,
|
||||||
segmented=True
|
segmented=True
|
||||||
))
|
))
|
||||||
break
|
break
|
||||||
|
|
|
@ -308,6 +308,7 @@ class HLS:
|
||||||
out=segment_save_path,
|
out=segment_save_path,
|
||||||
headers=session.headers,
|
headers=session.headers,
|
||||||
proxy=proxy,
|
proxy=proxy,
|
||||||
|
silent=attempts != 5,
|
||||||
segmented=True
|
segmented=True
|
||||||
))
|
))
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue