minor
This commit is contained in:
@ -26,10 +26,7 @@ class YT(FastAPI):
|
||||
)
|
||||
|
||||
async def yt_video_search_handler(self, data: ValidYTSearchRequest) -> JSONResponse:
|
||||
"""
|
||||
Search for YT Video by Title (closest match returned)
|
||||
- **t**: Title to search
|
||||
"""
|
||||
"""Search for YT Video by Title (closest match returned)"""
|
||||
|
||||
title: str = data.t
|
||||
yts_res: Optional[list[dict]] = await self.ytsearch.search(title)
|
||||
|
Reference in New Issue
Block a user