mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
solve anti-robot in web search
This commit is contained in:
parent
75b015bdf0
commit
8f6f71ba7e
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class SearchEnhancedQA(Action):
|
|||
)
|
||||
user_agent: str = Field(
|
||||
default="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.81",
|
||||
description="Specific user agent to use in browser",
|
||||
description="Specific user agent to use in browser.",
|
||||
)
|
||||
extra_http_headers: dict = Field(
|
||||
default={"sec-ch-ua": 'Chromium";v="125", "Not.A/Brand";v="24'},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue