2020from elm .ords .services .threaded import TempFileCache
2121from elm .ords .services .provider import RunningAsyncServices
2222from elm .ords .utilities .queued_logging import LocationFileLog , LogListener
23- from elm .web .search .google import PlaywrightGoogleLinkSearch
23+ from elm .web .search .duckduckgo import PlaywrightDuckDuckGoLinkSearch
2424from elm .web .file_loader import AsyncFileLoader
2525from elm .web .document import HTMLDocument
2626
@@ -141,8 +141,8 @@ async def _test_response(*args, **kwargs):
141141
142142
143143@pytest .mark .asyncio
144- async def test_google_search_with_logging (tmp_path ):
145- """Test searching google for some counties with logging"""
144+ async def test_search_with_logging (tmp_path ):
145+ """Test searching for some counties with logging"""
146146
147147 assert not list (tmp_path .glob ("*" ))
148148
@@ -152,7 +152,7 @@ async def test_google_search_with_logging(tmp_path):
152152
153153 async def search_single (location ):
154154 logger .info ("This location is %r" , location )
155- search_engine = PlaywrightGoogleLinkSearch (chromium_sandbox = False )
155+ search_engine = PlaywrightDuckDuckGoLinkSearch (chromium_sandbox = False )
156156 return await search_engine .results (
157157 f"Wind energy zoning ordinance { location } " ,
158158 num_results = num_requested_links ,
0 commit comments