up
This commit is contained in:
parent
823b06c6e5
commit
c35a950f1d
@ -1,7 +1,7 @@
|
|||||||
import errno
|
import errno
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from loguru import logger
|
# from loguru import logger
|
||||||
|
|
||||||
from src.core.ydl import VideoDownloader
|
from src.core.ydl import VideoDownloader
|
||||||
from src.exceptions.download_exceptions import FileAlreadyExistException
|
from src.exceptions.download_exceptions import FileAlreadyExistException
|
||||||
@ -17,7 +17,7 @@ class BaseParser:
|
|||||||
def video_download(self):
|
def video_download(self):
|
||||||
ydl_opts = {
|
ydl_opts = {
|
||||||
"format": self.params["format"],
|
"format": self.params["format"],
|
||||||
"logger": logger,
|
# "logger": logger,
|
||||||
"merge_output_format": self.params["merge_output_format"],
|
"merge_output_format": self.params["merge_output_format"],
|
||||||
'outtmpl': self.params["outtmpl"],
|
'outtmpl': self.params["outtmpl"],
|
||||||
"quiet": True
|
"quiet": True
|
||||||
|
@ -5,7 +5,7 @@ from ast import literal_eval
|
|||||||
import uvicorn
|
import uvicorn
|
||||||
from aio_pika import connect, Message, DeliveryMode
|
from aio_pika import connect, Message, DeliveryMode
|
||||||
from fastapi import FastAPI, Request, Depends
|
from fastapi import FastAPI, Request, Depends
|
||||||
from loguru import logger
|
from logging import logger
|
||||||
from starlette.middleware.cors import CORSMiddleware
|
from starlette.middleware.cors import CORSMiddleware
|
||||||
from starlette.responses import JSONResponse, FileResponse, StreamingResponse
|
from starlette.responses import JSONResponse, FileResponse, StreamingResponse
|
||||||
from starlette.templating import Jinja2Templates
|
from starlette.templating import Jinja2Templates
|
||||||
|
Loading…
Reference in New Issue
Block a user