suryasev/unofficial-google-trends-api — pull request #4 by jdmunro (2012-08-15 08:48:35+00:00)
Title: Fixed Google authentication

The script recently started failing with this error:

Exception: Cannot parse GALX out of login page

This seems to be caused by extra whitespace in the response, causing the regex not to find the GALX attribute. Stripping out extra whitespace seems to resolve the issue.