mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
ShrinkUrl: Fix goo. Looks like a change in the API. Closes GH-779.
This commit is contained in:
parent
ab011a6618
commit
74e5b5d5a4
@ -259,7 +259,6 @@ class ShrinkUrl(callbacks.PluginRegexp):
|
|||||||
_gooApi = 'https://www.googleapis.com/urlshortener/v1/url'
|
_gooApi = 'https://www.googleapis.com/urlshortener/v1/url'
|
||||||
@retry
|
@retry
|
||||||
def _getGooUrl(self, url):
|
def _getGooUrl(self, url):
|
||||||
url = utils.web.urlquote(url)
|
|
||||||
try:
|
try:
|
||||||
return self.db.get('goo', url)
|
return self.db.get('goo', url)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
Reference in New Issue
Block a user