client.py 文件源码

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

项目:Pyanimelist 作者: GetRektByMe 项目源码 文件源码
def __init__(self, username: str, password: str, enable_scraper: bool = False, user_agent: str = None):
        """
        :param str username: The username of the account that is being used to access the API
        :param str password: The password of the account that is being used to access the API
        :param bool enable_scraper:
        :param str user_agent: UserAgent of the application
        """
        self.user_agent = user_agent or UA
        self._auth = aiohttp.BasicAuth(login=username, password=password)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号