mirror of
https://github.com/searxng/searxng.git
synced 2026-04-28 03:30:38 -04:00
[fix] google engine - don't set __Secure-ENID in the HTTP header (#5894)
PR #5892 only deepends on the UA and the __Secure-ENID is not needed [1]. [1] https://github.com/searxng/searxng/pull/5892#issuecomment-4114835195 Suggested-by: @yeyuchen198 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
2c1ce3bd37
commit
c4f51aa4ac
@ -269,15 +269,6 @@ def get_google_info(params: "OnlineParams", eng_traits: EngineTraits) -> dict[st
|
||||
ret_val["headers"]["Accept"] = "*/*"
|
||||
ret_val["headers"]["User-Agent"] = gen_gsa_useragent()
|
||||
|
||||
# Hardcoded default ENID Header required alongside the Android Google App
|
||||
# User Agent
|
||||
ret_val["headers"]["__Secure-ENID"] = (
|
||||
"28.SE=II9FMkz92GewodDwKRBFsMISph7GsQs8JYLdXmAlprl6UcC02O2p7kfQlAWuwT"
|
||||
"oygcrqHpmwQSH57b0c2kXfRfo35J8aV5FYSeUzYB67hqZQ2tZB7-o0hlTKwb5qMjn8Cf"
|
||||
"w_AZ2s_6KIFMAl2goXGcXHSfgu4jwZOqShlHCcag0ppy_NnxJYWxpLkaeuGCICwWoIFJ"
|
||||
"HP6Gy4BOkIEsl1N_k6F6jMF_OklE9qIubiyKkNaA"
|
||||
)
|
||||
|
||||
# Cookies
|
||||
|
||||
# - https://github.com/searxng/searxng/pull/1679#issuecomment-1235432746
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user