Ethan Dalool
74d4a55d32
In the days of making reddit bots I always put creds into bot.py. But for this project it wouldn't make any sense to newcomers.
13 lines
326 B
Python
13 lines
326 B
Python
'''
|
|
Run `python -i ycdl_repl.py to get an interpreter
|
|
session with these variables preloaded.
|
|
'''
|
|
import logging
|
|
logging.basicConfig()
|
|
logging.getLogger('ycdl').setLevel(logging.DEBUG)
|
|
|
|
import ycdl
|
|
import youtube_credentials
|
|
|
|
youtube = ycdl.ytapi.Youtube(youtube_credentials.get_youtube_key())
|
|
Y = ycdl.ycdldb.YCDLDB(youtube)
|