This commit is contained in:
Dantenerosas 2023-09-25 21:20:58 +03:00 committed by nikili0n
parent 2d3d0c6afb
commit f90c4ab7ba
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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