我尝试使用pygooglevoice发送短信,但我无法让身份验证正常工作。
我以此为例:https://github.com/jluellen/pygooglevoice/blob/master/examples/sms.py
这就是我得到的:
from googlevoice import Voice
from googlevoice.util import input
voice = Voice()
user_name = "myemail"
user_pass = "somepassword"
voice.login(user_name, user_pass)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/googlevoice/voice.py", line 70, in login
galx = re.search(r"name=\"GALX\"\s+value=\"(.+)\"", content).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
不完全确定我做错了什么......
答案 0 :(得分:0)
Google终止了对XMPP的支持。 因此,使用它与之通信的所有第三方API都将失败