mirror of
https://github.com/flibusta-apps/books_downloader.git
synced 2025-12-06 15:05:37 +01:00
Add logs
This commit is contained in:
@@ -223,6 +223,13 @@ class FLDownloader(BaseDownloader):
|
|||||||
await aiofiles.os.remove(filename_to_convert)
|
await aiofiles.os.remove(filename_to_convert)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
print(
|
||||||
|
response.status_code,
|
||||||
|
filename_to_convert,
|
||||||
|
open(filename_to_convert, "r").read(),
|
||||||
|
flush=True,
|
||||||
|
)
|
||||||
|
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
raise ConvertationError
|
raise ConvertationError
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user