From 41fb4dec6795c03e01e3e701a78a92340fc6d274 Mon Sep 17 00:00:00 2001 From: alex-money Date: Sat, 24 Jun 2017 17:27:58 -0400 Subject: [PATCH] use https? I noticed that everything is "http://". Shouldn't we use "https://"? To hide our keys from public view? --- embedly/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embedly/client.py b/embedly/client.py index cfda2df..3aff738 100644 --- a/embedly/client.py +++ b/embedly/client.py @@ -52,7 +52,7 @@ def get_services(self): if self.services: return self.services - url = 'http://api.embed.ly/1/services/python' + url = 'https://api.embed.ly/1/services/python' http = httplib2.Http(timeout=self.timeout) headers = {'User-Agent': self.user_agent, @@ -122,7 +122,7 @@ def _get(self, version, method, url_or_urls, **kwargs): else: query += '&url=%s' % quote(url_or_urls) - url = 'http://api.embed.ly/%s/%s?%s' % (version, method, query) + url = 'https://api.embed.ly/%s/%s?%s' % (version, method, query) http = httplib2.Http(timeout=self.timeout)