diff --git a/README.rst b/README.rst index 50416c7..f514ce2 100644 --- a/README.rst +++ b/README.rst @@ -97,7 +97,7 @@ The client object now has a bunch of different methods that you can use. >>> client.objectify('http://vimeo.com/18150336') -The above functions all take the same arguements, a URL or a list of URLs and +The above functions all take the same arguments, a URL or a list of URLs and keyword arguments that correspond to Embedly's `query arguments `_. Here is an example:: diff --git a/embedly/__init__.py b/embedly/__init__.py index 5f9c9b4..11f965c 100644 --- a/embedly/__init__.py +++ b/embedly/__init__.py @@ -1,4 +1,4 @@ from __future__ import absolute_import from .client import Embedly -__version__ = '0.5.0' +__version__ = '0.5.0.post0' 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) diff --git a/embedly/models.py b/embedly/models.py index f97591c..e3f7ad8 100644 --- a/embedly/models.py +++ b/embedly/models.py @@ -7,7 +7,7 @@ class Url(IterableUserDict, object): """ A dictionary with two additional attributes for the method and url. UserDict provides a dictionary interface along with the regular - dictionary accsesible via the `data` attribute. + dictionary accessible via the `data` attribute. """ def __init__(self, data=None, method=None, original_url=None, **kwargs): diff --git a/setup.py b/setup.py index bf63710..e0fef44 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ def get_version(): test_suite="embedly.tests", zip_safe=True, use_2to3=True, - classifiers=( + classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Natural Language :: English', @@ -54,5 +54,5 @@ def get_version(): 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', - ) + ] )