ShrinkUrl: Update API URL, now serving HTTPS links

Source: https://x0.no/api/
For reference, http://api.x0.no/ now redirects to https://x0.no/api/
This commit is contained in:
James Lu 2016-05-07 21:02:38 -07:00
parent cd06cc833c
commit 7f13b939f7

View File

@ -229,7 +229,7 @@ class ShrinkUrl(callbacks.PluginRegexp):
irc.error(str(e))
ur1 = thread(wrap(ur1, ['httpUrl']))
_x0Api = 'http://api.x0.no/?%s'
_x0Api = 'https://x0.no/api/?%s'
@retry
def _getX0Url(self, url):
try: