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)
评论列表
文章目录