diff --git a/CHANGES.rst b/CHANGES.rst index 373ccdd..6564eca 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,11 @@ Changelog ========= +v0.0.13 (07-09-2018) +******************** + +- Adds proxies and random user-agent in headers + v0.0.12 (27-08-2018) ******************** diff --git a/README.rst b/README.rst index 2ae1067..acd2fe9 100644 --- a/README.rst +++ b/README.rst @@ -215,6 +215,11 @@ recommend HBO, Netflix, Filmin, Movistar, Rakuten Changelog ========= +v0.0.13 (07-09-2018) +******************** + +- Adds proxies and random user-agent in headers + v0.0.12 (27-08-2018) ******************** diff --git a/python_filmaffinity/__init__.py b/python_filmaffinity/__init__.py index 55f112f..cf034dd 100644 --- a/python_filmaffinity/__init__.py +++ b/python_filmaffinity/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +import __meta__ from .client import Client from .config import FIELDS_TYPE diff --git a/python_filmaffinity/__meta__.py b/python_filmaffinity/__meta__.py index 3f049b8..e994851 100644 --- a/python_filmaffinity/__meta__.py +++ b/python_filmaffinity/__meta__.py @@ -5,7 +5,7 @@ __summary__ = 'Python wrapper for FilmAffinity' __url__ = 'https://github.com/sergiormb/python_filmaffinityy' -__version__ = '0.0.12' +__version__ = '0.0.13' __install_requires__ = [ 'requests>=2.0.1', diff --git a/tests/test.py b/tests/test.py index 10b2e97..2c090b2 100644 --- a/tests/test.py +++ b/tests/test.py @@ -19,7 +19,7 @@ class TestApi(TestCase): service = python_filmaffinity.FilmAffinity() - + def tearDown(self): time.sleep(4) @@ -56,7 +56,6 @@ def test_top_filmaffinity(self): self.check_list(movies) def test_top_series(self): - # For renovate the headers self.service = python_filmaffinity.FilmAffinity() movies = self.service.top_tv_series() self.check_list(movies) @@ -89,7 +88,6 @@ def test_top_netflix(self): self.check_list(movies) def test_top_movistar(self): - # For renovate the headers self.service = python_filmaffinity.FilmAffinity() movies = self.service.top_movistar(top=10) self.check_list(movies) @@ -123,13 +121,11 @@ def test_recommend_movistar(self): self.check_element(movie) def test_recommend_rakuten(self): - # For renovate the headers self.service = python_filmaffinity.FilmAffinity() movie = self.service.recommend_rakuten() self.check_element(movie) def test_top_dvd(self): - # For renovate the headers self.service = python_filmaffinity.FilmAffinity() movies = self.service.top_dvd(top=10) time.sleep(4)