Log when downloads start
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
This commit is contained in:
parent
b1d6dbf8ca
commit
5f084bd6a2
1 changed files with 1 additions and 0 deletions
|
@ -259,6 +259,7 @@ class AutoResponder(commands.Cog):
|
||||||
|
|
||||||
async def copy_ncfe_docs(self, message: discord.Message, links: list[ParseResult]) -> None:
|
async def copy_ncfe_docs(self, message: discord.Message, links: list[ParseResult]) -> None:
|
||||||
files = []
|
files = []
|
||||||
|
self.log.info("Preparing to download: %s", ", ".join(map(ParseResult.geturl, links)))
|
||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
for link in links:
|
for link in links:
|
||||||
if link.path.endswith(".pdf"):
|
if link.path.endswith(".pdf"):
|
||||||
|
|
Loading…
Reference in a new issue