ShrinkUrl: Fix goo. Looks like a change in the API. Closes GH-779.

This commit is contained in:
Valentin Lorentz 2014-07-16 05:49:15 +00:00
parent ab011a6618
commit 74e5b5d5a4

View File

@ -259,7 +259,6 @@ class ShrinkUrl(callbacks.PluginRegexp):
_gooApi = 'https://www.googleapis.com/urlshortener/v1/url'
@retry
def _getGooUrl(self, url):
url = utils.web.urlquote(url)
try:
return self.db.get('goo', url)
except KeyError: