def _connect_reddit():
if _config is None:
error("Can't connect to reddit without a config")
return None
return praw.Reddit(client_id=_config.r_oauth_key, client_secret=_config.r_oauth_secret,
username=_config.r_username, password=_config.r_password,
user_agent=_config.useragent,
check_for_updates=False)
评论列表
文章目录