youtube.py 文件源码

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

项目:Zoom2Youtube 作者: Welltory 项目源码 文件源码
def get_authenticated_service(self):
        """ Create youtube oauth2 connection """
        credentials = AccessTokenCredentials(
            access_token=self.get_auth_code(),
            user_agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36'
        )
        return build(
            'youtube', 'v3', http=credentials.authorize(httplib2.Http())
        )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号