Skip to content

Commit

Permalink
CLI: _download_file: impersonate="chrome_131"
Browse files Browse the repository at this point in the history
  • Loading branch information
deedy5 committed Nov 22, 2024
1 parent c5dc004 commit 554a68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duckduckgo_search/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _sanitize_keywords(keywords):

def _download_file(url, dir_path, filename, proxy, verify):
try:
resp = primp.Client(proxy=proxy, impersonate="chrome_130", timeout=10, verify=verify).get(url)
resp = primp.Client(proxy=proxy, impersonate="chrome_131", timeout=10, verify=verify).get(url)
if resp.status_code == 200:
with open(os.path.join(dir_path, filename[:200]), "wb") as file:
file.write(resp.content)
Expand Down

0 comments on commit 554a68a

Please sign in to comment.