[fix] engines: dogpile web needs api token

This commit is contained in:
vojkovic
2026-09-12 08:08:40 +00:00
committed by Brock Vojkovic
parent 61d660276f
commit 87bf8c86ed

View File

@@ -66,7 +66,6 @@ def request(query: str, params: "OnlineParams"):
params["url"] = f"{base_url}/api/{dogpile_categ}"
params["headers"]["Origin"] = base_url
params["cookies"]["dp_api_token"] = "1"
if dogpile_categ != "search": # web doesnt need token
params["headers"]["x-dogpile-token"] = _obtain_token()
params["method"] = "POST"