mirror of
https://github.com/flibusta-apps/batch_downloader.git
synced 2025-12-06 14:25:36 +01:00
Fix
This commit is contained in:
@@ -48,7 +48,11 @@ class LibraryClient:
|
||||
async with httpx.AsyncClient() as client:
|
||||
response = await client.get(
|
||||
f"{env_config.LIBRARY_URL}/api/v1/sequences/{sequence_id}/books",
|
||||
params={"page": page, "allowed_langs": allowed_langs},
|
||||
params={
|
||||
"page": page,
|
||||
"allowed_langs": allowed_langs,
|
||||
"is_deleted": "false",
|
||||
},
|
||||
headers={"Authorization": env_config.LIBRARY_API_KEY},
|
||||
)
|
||||
|
||||
@@ -64,7 +68,11 @@ class LibraryClient:
|
||||
async with httpx.AsyncClient() as client:
|
||||
response = await client.get(
|
||||
f"{env_config.LIBRARY_URL}/api/v1/authors/{author_id}/books",
|
||||
params={"page": page, "allowed_langs": allowed_langs},
|
||||
params={
|
||||
"page": page,
|
||||
"allowed_langs": allowed_langs,
|
||||
"is_deleted": "false",
|
||||
},
|
||||
headers={"Authorization": env_config.LIBRARY_API_KEY},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user