PyGoogleVoice: невозможно войти
Я использую следующий пример, но он не работает для меня:
from googlevoice import Voice
if __name__ == '__main__':
numnber = '41xxxxxxxx'
voice = Voice()
voice.login('user@gmail.com','pwd')
res = voice.send_sms(numnber, 'Hi from Ad')
print(res)
что дает мне ошибку:
Traceback (most recent call last):
File "/xx/xx/voice.py", line 6, in <module>
voice.login('user@gmail.com','pwd')
File "/anaconda3/anaconda/lib/python3.5/site-packages/googlevoice/voice.py", line 72, in login
galx = re.search(b"type=\"hidden\" name=\"GALX\" *value=\"(.+)\"", content).group(1)
AttributeError: 'NoneType' object has no attribute 'group'