Ignore aria2's "If errors see the log file" logs

This commit is contained in:
rlaphoenix 2023-03-15 03:13:41 +00:00
parent d3cfc722dc
commit 0ac1955db6
1 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,8 @@ async def aria2c(
elif not is_dl_summary: elif not is_dl_summary:
if "aria2 will resume download if the transfer is restarted" in line: if "aria2 will resume download if the transfer is restarted" in line:
continue continue
if "If there are any errors, then see the log file" in line:
continue
log_buffer += f"{line.strip()}\n" log_buffer += f"{line.strip()}\n"
if log_buffer: if log_buffer: