ycdl/frontends/ycdl_repl.py
2020-01-06 22:01:23 -08:00

10 lines
200 B
Python

'''
Run `python -i ycdl_repl.py to get an interpreter
session with these variables preloaded.
'''
import bot
import ycdl
youtube = ycdl.ytapi.Youtube(bot.get_youtube_key())
ydl = ycdl.YCDL(youtube)