2016-11-29 04:16:16 +00:00
|
|
|
'''
|
2016-12-13 03:50:41 +00:00
|
|
|
Run `python -i ycdl_repl.py to get an interpreter
|
2016-11-29 04:16:16 +00:00
|
|
|
session with these variables preloaded.
|
|
|
|
'''
|
2020-08-12 18:17:10 +00:00
|
|
|
import logging
|
|
|
|
logging.basicConfig()
|
|
|
|
logging.getLogger('ycdl.ycdldb').setLevel(logging.DEBUG)
|
|
|
|
logging.getLogger('ycdl.ytapi').setLevel(logging.DEBUG)
|
|
|
|
logging.getLogger('ycdl.ytrss').setLevel(logging.DEBUG)
|
2016-11-29 04:16:16 +00:00
|
|
|
|
|
|
|
import bot
|
|
|
|
import ycdl
|
|
|
|
|
2020-01-07 06:01:23 +00:00
|
|
|
youtube = ycdl.ytapi.Youtube(bot.get_youtube_key())
|
2020-03-18 03:52:50 +00:00
|
|
|
Y = ycdl.ycdldb.YCDLDB(youtube)
|