@@ -112,7 +112,7 @@ def google_maps_search(self, query: list, limit: int = 400, extract_contacts: bo
112112 }, headers = self ._api_headers )
113113
114114 if 199 < response .status_code < 300 :
115- sleep (15 )
115+ sleep (10 )
116116 return self ._wait_request_archive (response .json ()['id' ]).get ('data' , [])
117117
118118 raise Exception (f'Response status code: { response .status_code } ' )
@@ -157,7 +157,7 @@ def google_maps_reviews(self, query: list, reviewsLimit: int = 100, limit: int =
157157 }, headers = self ._api_headers )
158158
159159 if 199 < response .status_code < 300 :
160- sleep (15 )
160+ sleep (10 )
161161 return self ._wait_request_archive (response .json ()['id' ]).get ('data' , [])
162162
163163 raise Exception (f'Response status code: { response .status_code } ' )
@@ -188,7 +188,7 @@ def google_maps_photos(self, query: list, photosLimit: int = 100, limit: int = 1
188188 }, headers = self ._api_headers )
189189
190190 if 199 < response .status_code < 300 :
191- sleep (15 )
191+ sleep (10 )
192192 return self ._wait_request_archive (response .json ()['id' ]).get ('data' , [])
193193
194194 raise Exception (f'Response status code: { response .status_code } ' )
@@ -223,7 +223,7 @@ def google_play_reviews(self, query: list, reviewsLimit: int = 100, sort: str =
223223 }, headers = self ._api_headers )
224224
225225 if 199 < response .status_code < 300 :
226- sleep (15 )
226+ sleep (10 )
227227 return self ._wait_request_archive (response .json ()['id' ]).get ('data' , [])
228228
229229 raise Exception (f'Response status code: { response .status_code } ' )
0 commit comments