file structure

This commit is contained in:
2023-04-28 01:19:18 +02:00
parent 11c95e93f2
commit 71ff713417
24 changed files with 241 additions and 37 deletions

1
usecase/__init__.py Normal file
View File

@ -0,0 +1 @@
from .sources import Sources

11
usecase/sources.py Normal file
View File

@ -0,0 +1,11 @@
import re
from framework import Youtube
class Sources:
def __init__(self, youtube: Youtube) -> None:
self.youtube = youtube
async def processQuery(self, query: str):
return await self.youtube.searchVideo(query)