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()
|
2020-08-12 18:25:59 +00:00
|
|
|
logging.getLogger('ycdl').setLevel(logging.DEBUG)
|
2016-11-29 04:16:16 +00:00
|
|
|
|
|
|
|
import ycdl
|
2021-04-26 01:02:26 +00:00
|
|
|
import youtube_credentials
|
2016-11-29 04:16:16 +00:00
|
|
|
|
2021-04-26 01:02:26 +00:00
|
|
|
youtube = ycdl.ytapi.Youtube(youtube_credentials.get_youtube_key())
|
2020-03-18 03:52:50 +00:00
|
|
|
Y = ycdl.ycdldb.YCDLDB(youtube)
|