mirror of
https://github.com/Ahwxorg/Binternet.git
synced 2026-03-11 08:54:37 +00:00
Fix search results being empty
This commit is contained in:
parent
2a5b026ce7
commit
b570cb82ab
1 changed files with 3 additions and 1 deletions
|
|
@ -55,7 +55,9 @@ $prepare_search_curl_obj = function ($query, $bookmark) use ($url, $header_funct
|
|||
}
|
||||
|
||||
$data_param = urlencode(json_encode($data_param_obj));
|
||||
$headers = [];
|
||||
$headers = [
|
||||
"x-pinterest-pws-handler: www/search/[scope].js"
|
||||
];
|
||||
|
||||
if ($csrftoken !== null) {
|
||||
$headers[] = "x-csrftoken: $csrftoken";
|
||||
|
|
|
|||
Loading…
Reference in a new issue