summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Bing.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-17 10:43:11 +0200
committerGitHub <noreply@github.com>2024-04-17 10:43:11 +0200
commit6afc6722a05f6d4498e6dcf19a7689ad58ffd444 (patch)
tree7b8ab362992408b78838df82a5172be15272a485 /g4f/Provider/Bing.py
parentMerge pull request #1833 from hlohaus/curl (diff)
parentFix style.css (diff)
downloadgpt4free-0.2.9.10.tar
gpt4free-0.2.9.10.tar.gz
gpt4free-0.2.9.10.tar.bz2
gpt4free-0.2.9.10.tar.lz
gpt4free-0.2.9.10.tar.xz
gpt4free-0.2.9.10.tar.zst
gpt4free-0.2.9.10.zip
Diffstat (limited to 'g4f/Provider/Bing.py')
-rw-r--r--g4f/Provider/Bing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Bing.py b/g4f/Provider/Bing.py
index 92f79cca..fd8cac8e 100644
--- a/g4f/Provider/Bing.py
+++ b/g4f/Provider/Bing.py
@@ -107,7 +107,7 @@ def get_default_cookies():
'PPLState' : '1',
'KievRPSSecAuth': '',
'SUID' : '',
- 'SRCHUSR' : '',
+ 'SRCHUSR' : f'DOB={date.today().strftime("%Y%m%d")}&T={int(time.time())}',
'SRCHHPGUSR' : f'HV={int(time.time())}',
'BCP' : 'AD=1&AL=1&SM=1',
'_Rwho' : f'u=d&ts={date.today().isoformat()}',