-
Notifications
You must be signed in to change notification settings - Fork 35
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
API has changed - leads to LoginError #8
Comments
I can't login since 2/14/2018: C:\Users\johndoe\Anaconda3\python.exe
|
Turned on debugger in PyCharm and the issue is in module voice.py, class Voice Strangely the resp does not contain the pattern, there's even no string '_rnr_se'. |
I have been receiving the same issue since the beginning of this month as @tazdevil1 pointed out. Probably Google Voice has changed their AngularJS interface again, breaking the pygooglevoice scraper yet again (https://stackoverflow.com/questions/42097689/pygoogle-voice-not-logging-in). I personally have no idea how to fix the scraper but am hoping that someone is able to make the quick fix! |
same issue,too |
The best course of action may be to focus on #7, although I'd happily accept a patch to retain the current behavior. Or it may be the case that the new HTML app is actually using the new API, in which case #7 is probably the shortest path to success. I won't have time to develop this myself, but I welcome contributions. |
Also having the same problem... |
I'm getting the same error trying to run on a raspberry pi:
Looks like the suggestion or work on #7 is stalled out. Does anyone have ideas for a fix, or suggestions for other packages that allow GoogleVoice access with Python? |
Co-authored-by: Jason R. Coombs <[email protected]>
It does not work. |
Looks like the current login page requires Javascript
Seems like the web client does which returns a list of sessions (which lines up with the account selector in the top right on the web gui). Then it does After that, it's then making requests like So I guess the first part is to "login" to a Google account which sets some cookies (maybe some other project has done that?). After that step, it looks like you just issue a bearer token and go with that |
From further experimentation, it appears that the iframerpc calls require the header "X-Requested-With: XmlHttpRequest" and the cookies "SID", "__Secure_3PSID", and "LSID" in order to return a result |
Incoming messages can be listed with Messages can be sent with
|
It would make sense to stabilize the code in a way that requires the user to extract data from the browser for now. |
Hello, throwing an idea out there. What if there is a script that opens browser session for you to manually sign into? Then this project will continue to use the saved session data. If the issue is the browser being detected, an older webdriver and chrome version can be used to evade detection (with flags). Let me know if anyone has already attempted this. |
I've not tried that. I'm a little reluctant to pursue that approach even if it works because it potentially creates a pretty heavy dependency (on an installed browser and web driver). Maybe I'm mistaken and there are lightweight, embedded drivers out there (PhantomJS?). That said, anything working is preferable to the current state of affairs, so I'd accept it. Still, if there's a sanctioned, supported API (and I'm not confident there is) or even an unofficial API that can be scraped after getting a suitable auth token through an authorized mechanism, I'd prefer that. I have personally used Splinter to do some sophisticated web automations using a headless (or not) driver (including Chromedriver), so I'd recommend starting with Splinter as an engine (assuming that fits the design). |
Whenever I try to run this code I get this error
I have tried searching for solutions but most are a few years old and didn't work.
Any help would be appreciated
The text was updated successfully, but these errors were encountered: