Exemple #1
0
 def new_cookies(self, username, password):
     """
     生成Cookies
     :param username: 用户名
     :param password: 密码
     :return: 用户名和Cookies
     """
     return WeiboCookies(username, password, self.browser).main()
Exemple #2
0
 def new_cookies(self, username, password):
     '''
     生成Cookies
     :param username: 用户名
     :param password: 密码
     :return: 用户名和Cookies
     '''
     return WeiboCookies(username, password).main()
Exemple #3
0
 def new_cookies(self, username, password):
     weibo_cookies = WeiboCookies(username = username, password = password, browser = self.browser)
     return weibo_cookies.main()