From 70e32a23a8a781a076d205245696213bdccdb0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dmitiry=20Zub=E2=98=80=EF=B8=8F?= Date: Sat, 13 May 2023 04:48:01 +0000 Subject: [PATCH] fix(SerpApiClientException): wrong API engine in error message --- serpapi/apple_app_store_search.py | 2 +- serpapi/duck_duck_go_search.py | 2 +- serpapi/naver_search.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/serpapi/apple_app_store_search.py b/serpapi/apple_app_store_search.py index 57fcf07..2471c5a 100644 --- a/serpapi/apple_app_store_search.py +++ b/serpapi/apple_app_store_search.py @@ -17,4 +17,4 @@ def __init__(self, params_dict): super(AppleAppStoreSearch, self).__init__(params_dict, APPLE_APP_STORE_ENGINE) def get_location(self, q, limit = 5): - raise SerpApiClientException("location is not supported by youtube search engine") + raise SerpApiClientException("location is not supported by Apple Search search engine") diff --git a/serpapi/duck_duck_go_search.py b/serpapi/duck_duck_go_search.py index a9462c7..38ec856 100644 --- a/serpapi/duck_duck_go_search.py +++ b/serpapi/duck_duck_go_search.py @@ -17,4 +17,4 @@ def __init__(self, params_dict): super(DuckDuckGoSearch, self).__init__(params_dict, DUCKDUCKGO_ENGINE) def get_location(self, q, limit = 5): - raise SerpApiClientException("location is not supported by walmart search engine") + raise SerpApiClientException("location is not supported by DuckDuckGo search engine") diff --git a/serpapi/naver_search.py b/serpapi/naver_search.py index cc26dff..8dbc230 100644 --- a/serpapi/naver_search.py +++ b/serpapi/naver_search.py @@ -17,4 +17,4 @@ def __init__(self, params_dict): super(NaverSearch, self).__init__(params_dict, NAVER_ENGINE) def get_location(self, q, limit = 5): - raise SerpApiClientException("location is not supported by youtube search engine") + raise SerpApiClientException("location is not supported by Naver search engine")