Skip to content

cant do verify #2

@LinconFive

Description

@LinconFive
In [1]: from pyqq import QQ

In [2]: uid = '649788696'

In [3]: pwd = 'Heisenberg1988'

In [4]: qq = QQ(uid,pwd)

In [5]: qq.login()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-5-87936eef955b> in <module>()
----> 1 qq.login()

/usr/lib/python2.7/site-packages/pyqq/api.pyc in login(self)
    112
    113     def login(self):
--> 114             self._check()
    115             self._prelogin()
    116             self._channel_login()

/usr/lib/python2.7/site-packages/pyqq/api.pyc in _check(self)
     57                 self.cookies = Cookie(resp.get('set-cookie',''))
     58                 match = CheckVC.match(content)
---> 59                 self.verify = match.group('content')
     60                 return int(match.group('status')),self.verify
     61

AttributeError: 'NoneType' object has no attribute 'group'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions