diff --git a/src/parsers/base_parser.py b/src/parsers/base_parser.py index fecd537..0b5c1f8 100644 --- a/src/parsers/base_parser.py +++ b/src/parsers/base_parser.py @@ -1,7 +1,7 @@ import errno import os -from loguru import logger +# from loguru import logger from src.core.ydl import VideoDownloader from src.exceptions.download_exceptions import FileAlreadyExistException @@ -17,7 +17,7 @@ class BaseParser: def video_download(self): ydl_opts = { "format": self.params["format"], - "logger": logger, + # "logger": logger, "merge_output_format": self.params["merge_output_format"], 'outtmpl': self.params["outtmpl"], "quiet": True diff --git a/src/web/main.py b/src/web/main.py index edd50a6..8d6073e 100644 --- a/src/web/main.py +++ b/src/web/main.py @@ -5,7 +5,7 @@ from ast import literal_eval import uvicorn from aio_pika import connect, Message, DeliveryMode from fastapi import FastAPI, Request, Depends -from loguru import logger +from logging import logger from starlette.middleware.cors import CORSMiddleware from starlette.responses import JSONResponse, FileResponse, StreamingResponse from starlette.templating import Jinja2Templates