diff --git a/.travis.yml b/.travis.yml index b6cf9ae..3b21034 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,10 @@ dist: xenial language: python python: - - 3.5 - 3.6 - 3.7 - 3.8 - - 3.9-dev + - 3.9 script: - pip install . diff --git a/CHANGELOG.md b/CHANGELOG.md index 54ffc0f..db9843f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 1.3.5 + +### Fixed in 1.3.5 + +- Pilow version updated (pull request by [@eladavron](https://github.com/eladavron)) +- Fixed x-raw-image://urls (pull request by [@reteps](https://github.com/reteps)) + ## 1.3.4 ### Fixed in 1.3.4 diff --git a/google_images_search/google_api.py b/google_images_search/google_api.py index 93d24bf..a877272 100644 --- a/google_images_search/google_api.py +++ b/google_images_search/google_api.py @@ -108,7 +108,8 @@ def search(self, params, cache_discovery=False): continue except requests.exceptions.SSLError: continue - + except requests.exceptions.InvalidSchema: + continue yield image['link'] diff --git a/setup.py b/setup.py index d97c11a..98131b2 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ def readme(): setup( name='Google Images Search', - version="1.3.4", + version="1.3.5", description='Search for image using Google Custom Search API and resize & crop the image afterwords', long_description=readme(), @@ -25,7 +25,6 @@ def readme(): 'Intended Audience :: Developers', 'Topic :: Software Development :: Build Tools', 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', @@ -41,7 +40,7 @@ def readme(): 'click~=7.0', 'six~=1.12', 'requests~=2.21', - 'Pillow~=7.1.0', + 'Pillow~=8.0.1', 'python-resize-image~=1.1', 'google-api-python-client~=1.7', ],