QQQR Bases

class qqqr.base.LoginSession(login_sig, *, create_time=None)

A LoginSession collects all data generated or received during login.

login_url: Optional[str] = None

GET this login url to get cookies.

logined: bool = False

whether this session is logined.

class qqqr.base.LoginBase(client, uin, h5=True, app=None, proxy=None, info=None, *args, **kwds)
async deviceId()

a js fingerprint. :rtype: str

abstract async login()

Block until cookie is received.

返回类型:

Dict[str, str]

abstract async new()

Create a new LoginSession.

返回类型:

TypeVar(_S, bound= LoginSession)