mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-02 04:12:45 +02:00
solve anti-robot in web search
This commit is contained in:
parent
43340b79eb
commit
75b015bdf0
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ class CollectLinks(Action):
|
|||
return [i["link"] for i in results[:num_results]]
|
||||
|
||||
async def _search_urls(self, query: str, max_results: int) -> list[dict[str, str]]:
|
||||
"""Use search_engine to get urls
|
||||
"""Use search_engine to get urls.
|
||||
|
||||
Returns:
|
||||
e.g. [{"title": "...", "link": "...", "snippet", "..."}]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue