Add arg name to process_book
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Michel Roux 2023-01-13 22:54:07 +01:00
parent 5c64effdc7
commit 255ce9511b
1 changed files with 8 additions and 5 deletions

View File

@ -150,13 +150,16 @@ def process_book(url: str, creator: str, publisher: str, language: str):
async def create_books():
await gather(
process_book(
"https://aubergevagabonde.wordpress.com/sommaire/",
"Pirateaba",
"ElliVia",
"fr",
url="https://aubergevagabonde.wordpress.com/sommaire/",
creator="Pirateaba",
publisher="ElliVia",
language="fr",
),
process_book(
"https://wanderinginn.com/table-of-contents/", "Pirateaba", "Xefir", "en"
url="https://wanderinginn.com/table-of-contents/",
creator="Pirateaba",
publisher="Xefir",
language="en",
),
return_exceptions=True,
)