diff --git a/GoogleNews/__init__.py b/GoogleNews/__init__.py index a8d35e5..69bb3ef 100644 --- a/GoogleNews/__init__.py +++ b/GoogleNews/__init__.py @@ -82,7 +82,7 @@ def __init__(self,lang="en",period="",start="",end="",encode="utf-8",region=None self.__end = end self.__encode = encode self.__exception = False - self.__version = '1.6.7' + self.__version = '1.6.8' def getVersion(self): return self.__version @@ -386,4 +386,4 @@ def clear(self): self.__texts = [] self.__links = [] self.__results = [] - self.__totalcount = 0 \ No newline at end of file + self.__totalcount = 0 diff --git a/setup.py b/setup.py index f6f364e..7e9b62e 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="GoogleNews", - version="1.6.7", + version="1.6.8", author="Hurin Hu", author_email="hurin@live.ca", description="Google News search for Python", diff --git a/test/test_search.py b/test/test_search.py index 2770a60..cc1ffba 100644 --- a/test/test_search.py +++ b/test/test_search.py @@ -51,7 +51,7 @@ class TestStringMethods(unittest.TestCase): def testVersion(self): googlenews = GoogleNews() - version = '1.6.7' + version = '1.6.8' self.assertIn(version, googlenews.getVersion()) print('Latest version matched')