mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-23 11:02:40 +03:00
Update internet.py
This commit is contained in:
parent
427a72eff3
commit
9da45f9a63
@ -101,7 +101,7 @@ async def search(query: str, n_results: int = 5, max_words: int = 2500, add_text
|
||||
raise MissingRequirementsError('Install "duckduckgo-search" and "beautifulsoup4" package')
|
||||
async with AsyncDDGS() as ddgs:
|
||||
results = []
|
||||
for result in await ddgs.atext(
|
||||
for result in await ddgs.atext(
|
||||
query,
|
||||
region="wt-wt",
|
||||
safesearch="moderate",
|
||||
|
Loading…
Reference in New Issue
Block a user