forked from lolcat/4get
lol forgot the request is still for yt
This commit is contained in:
parent
5a0f5b868a
commit
2c4dc7da84
|
@ -154,17 +154,18 @@ class sepiasearch{
|
||||||
$curlproc,
|
$curlproc,
|
||||||
CURLOPT_HTTPHEADER,
|
CURLOPT_HTTPHEADER,
|
||||||
["User-Agent: " . config::USER_AGENT,
|
["User-Agent: " . config::USER_AGENT,
|
||||||
"Accept: */*",
|
"Accept: application/json, text/plain, */*",
|
||||||
"Accept-Language: en-US,en;q=0.5",
|
"Accept-Language: en-US,en;q=0.5",
|
||||||
"Accept-Encoding: gzip",
|
"Accept-Encoding: gzip, deflate, br, zstd",
|
||||||
"Cookie: PREF=tz=America.New_York",
|
|
||||||
"Referer: https://youtube.com.com/",
|
|
||||||
"Content-Type: application/json",
|
|
||||||
"DNT: 1",
|
"DNT: 1",
|
||||||
|
"Sec-GPC: 1",
|
||||||
"Connection: keep-alive",
|
"Connection: keep-alive",
|
||||||
|
"Referer: https://sepiasearch.org/search",
|
||||||
"Sec-Fetch-Dest: empty",
|
"Sec-Fetch-Dest: empty",
|
||||||
"Sec-Fetch-Mode: same-origin",
|
"Sec-Fetch-Mode: cors",
|
||||||
"Sec-Fetch-Site: same-origin"]
|
"Sec-Fetch-Site: same-origin",
|
||||||
|
"Priority: u=0",
|
||||||
|
"TE: trailers"]
|
||||||
);
|
);
|
||||||
|
|
||||||
curl_setopt($curlproc, CURLOPT_RETURNTRANSFER, true);
|
curl_setopt($curlproc, CURLOPT_RETURNTRANSFER, true);
|
||||||
|
|
Loading…
Reference in New Issue