reddit.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:holo 作者: TheEnigmaBlade 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号