Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant do verify #2

Open
LinconFive opened this issue Nov 22, 2016 · 0 comments
Open

cant do verify #2

LinconFive opened this issue Nov 22, 2016 · 0 comments

Comments

@LinconFive
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant