Skip to content

Commit 94b75a1

Browse files
author
vs
committed
refactoring
1 parent 0b8829c commit 94b75a1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

outscraper/api_client.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ def youtube_comments(self, query: Union[list, str], per_query: int = 100, langua
813813
}, headers=self._api_headers)
814814

815815
return self._handle_response(response, wait_async, async_request)
816-
816+
817817
def g2_reviews(self, query: Union[list, str], limit: int = 100, sort: str = 'g2_default', cutoff: int = None,
818818
fields: Union[list, str] = None, async_request: bool = False, ui: bool = None, webhook: str = None
819819
) -> list:
@@ -850,10 +850,9 @@ def g2_reviews(self, query: Union[list, str], limit: int = 100, sort: str = 'g2_
850850
}, headers=self._api_headers)
851851

852852
return self._handle_response(response, wait_async, async_request)
853-
854-
def trustpilot_reviews(self, query: Union[list, str], limit: int = 100, languages: str = 'default', sort: str = '',
855-
cutoff: int = None, fields: Union[list, str] = None, async_request: bool = False, ui: bool = None,
856-
webhook: str = None
853+
854+
def trustpilot_reviews(self, query: Union[list, str], limit: int = 100, languages: str = 'default', sort: str = '',
855+
cutoff: int = None, fields: Union[list, str] = None, async_request: bool = False, ui: bool = None, webhook: str = None
857856
) -> list:
858857
'''
859858
Returns reviews from Trustpilot businesses. In case no reviews were found by your search criteria, your search request will consume the usage of one review.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def readme():
88

99
setup(
1010
name='outscraper',
11-
version='5.3.2',
11+
version='5.3.3',
1212
description='Python bindings for the Outscraper API',
1313
long_description=readme(),
1414
classifiers = ['Programming Language :: Python',

0 commit comments

Comments
 (0)