@@ -59,7 +59,7 @@ def _wait_request_archive(self, request_id: str, requests_pause: int = 5) -> dic
5959
6060 raise Exception ('Timeout exceeded' )
6161
62- def google_search (self , query : list | str , language : str = 'en' , region : str = None ) -> dict :
62+ def google_search (self , query : list , language : str = 'en' , region : str = None ) -> dict :
6363 '''
6464 Get data from Google search
6565
@@ -83,7 +83,7 @@ def google_search(self, query: list | str, language: str = 'en', region: str = N
8383
8484 raise Exception (f'Response status code: { response .status_code } ' )
8585
86- def google_maps_search (self , query : list | str , language : str = 'en' , region : str = None , limit : int = 400 ,
86+ def google_maps_search (self , query : list , language : str = 'en' , region : str = None , limit : int = 400 ,
8787 extract_contacts : bool = False , coordinates : str = None , drop_duplicates : bool = False
8888 ) -> dict :
8989 '''
@@ -117,7 +117,7 @@ def google_maps_search(self, query: list | str, language: str = 'en', region: st
117117
118118 raise Exception (f'Response status code: { response .status_code } ' )
119119
120- def google_maps_business_reviews (self , query : list | str , language : str = 'en' , region : str = None ,
120+ def google_maps_business_reviews (self , query : list , language : str = 'en' , region : str = None ,
121121 limit : int = 100 , cutoff : int = None , coordinates : str = None , sort : str = 'most_relevant' ,
122122 cutoff_rating : int = None , organizations_per_query_limit : int = 1
123123 ) -> dict :
0 commit comments