Merge pull request #514 from Hoaas/testing

Google: Filter out [, before attempting to interpret Googles response as json
This commit is contained in:
Valentin Lorentz 2013-09-25 03:51:03 -07:00
commit f0a9db6d07

View File

@ -267,6 +267,8 @@ class Google(callbacks.PluginRegexp):
while ',,' in result:
result = result.replace(',,', ',null,')
while '[,' in result:
result = result.replace('[,', '[')
data = json.loads(result)
try: