galerts
galerts copied to clipboard
Python library for managing Google Alerts [inactive]
There are a few people that created issues saying the galerts package no longer works. I pulled together a few different versions from on github into something that works again....
Fixed issue #11 BeautifulSoup does not correctly parse the html that has been acquired. You might want to use lxml module instead.
``` .../galerts/galerts.pyc in _scrape_sig(self, path) 356 ) 357 soup = BeautifulSoup(body) --> 358 sig = soup.findChild('input', attrs={'name': 'x'})['value'] 359 return str(sig) TypeError: 'NoneType' object has no attribute '__getitem__' ``` (Without...
hi, there is a new version of the interface of galert on google. Are you planning to integrate it? thanks,Chris
# !python import galerts password = 'password' gam = galerts.GAlertsManager('[email protected]', 'password') len(list(gam.alerts)) == 0 # always True
Issue
When doing list(gam.alerts) I get this error. Any idea? ``` UnexpectedResponseError Traceback (most recent call last) in () ----> 1 list(gam.alerts) /usr/local/lib/python2.7/site-packages/galerts.pyc in alerts(self) 355 try: 356 if response.status !=...
Google Alerts lets you create different sets of alerts for each of the email addresses you have associated with your Google account. Galerts currently only supports your primary email address.
Galerts should have automated tests that exercise the API to quickly tell whether Google has made any breaking changes.