mirror of
https://github.com/flibusta-apps/books_downloader.git
synced 2025-12-06 15:05:37 +01:00
Fix filename generation
This commit is contained in:
@@ -49,7 +49,7 @@ class BookLibraryClient:
|
||||
|
||||
@classmethod
|
||||
async def _make_request(cls, url) -> dict:
|
||||
async with httpx.AsyncClient() as client:
|
||||
async with httpx.AsyncClient(timeout=60) as client:
|
||||
response = await client.get(url, headers=cls.auth_headers)
|
||||
return response.json()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user