Add downloading song by query

This commit is contained in:
BarsTiger
2023-10-17 22:48:30 +03:00
parent 2f364fd575
commit fa4c48e41d
6 changed files with 146 additions and 7 deletions

View File

@@ -0,0 +1,14 @@
import ytmusicapi
from .song import Songs
from .downloader import Downloader
class YouTube(object):
def __init__(self):
self.ytm = ytmusicapi.YTMusic()
self.download = Downloader
self.songs = Songs(
self.ytm
)