Add downloading song by query
This commit is contained in:
14
bot/modules/youtube/youtube.py
Normal file
14
bot/modules/youtube/youtube.py
Normal 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
|
||||
)
|
||||
Reference in New Issue
Block a user