forked from DRMTalks/devine
Remove uses of the downloader's silent arg in DASH and HLS
This was originally done to prevent *all* aria2c logs unless on the last attempt, at which if it failed all attempts it would let aria2c log the error. However, that's bad practice as aria2c may produce errors or warnings on say the 3rd attempt, and the 3rd attempt may have otherwise succeeded, with warnings or errors. It also generally shouldn't be necessary.
This commit is contained in:
parent
009a880371
commit
cc4900a2ed
|
@ -535,7 +535,6 @@ class DASH:
|
|||
headers=headers_,
|
||||
cookies=cookies,
|
||||
proxy=proxy,
|
||||
silent=attempts != 5,
|
||||
segmented=True
|
||||
)
|
||||
break
|
||||
|
|
|
@ -441,7 +441,6 @@ class HLS:
|
|||
headers=headers_,
|
||||
cookies=session.cookies,
|
||||
proxy=proxy,
|
||||
silent=attempts != 5,
|
||||
segmented=True
|
||||
)
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue