Skip to content

Commit

Permalink
CLI: _download_file: impersonate="chrome_130"
Browse files Browse the repository at this point in the history
  • Loading branch information
deedy5 committed Nov 9, 2024
1 parent 4e0183c commit b77cf3b
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 @@ -83,7 +83,7 @@ def _sanitize_keywords(keywords):

def _download_file(url, dir_path, filename, proxy, verify):
try:
resp = primp.Client(proxy=proxy, impersonate="chrome_129", timeout=10, verify=verify).get(url)
resp = primp.Client(proxy=proxy, impersonate="chrome_130", 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 b77cf3b

Please sign in to comment.