From 2c4dc7da84dbed4dbea21e8093af4e77b66b03d6 Mon Sep 17 00:00:00 2001 From: lolcat Date: Sat, 2 Aug 2025 17:44:10 -0400 Subject: [PATCH] lol forgot the request is still for yt --- scraper/sepiasearch.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scraper/sepiasearch.php b/scraper/sepiasearch.php index e8a28df..c59e12f 100644 --- a/scraper/sepiasearch.php +++ b/scraper/sepiasearch.php @@ -154,17 +154,18 @@ class sepiasearch{ $curlproc, CURLOPT_HTTPHEADER, ["User-Agent: " . config::USER_AGENT, - "Accept: */*", + "Accept: application/json, text/plain, */*", "Accept-Language: en-US,en;q=0.5", - "Accept-Encoding: gzip", - "Cookie: PREF=tz=America.New_York", - "Referer: https://youtube.com.com/", - "Content-Type: application/json", + "Accept-Encoding: gzip, deflate, br, zstd", "DNT: 1", + "Sec-GPC: 1", "Connection: keep-alive", + "Referer: https://sepiasearch.org/search", "Sec-Fetch-Dest: empty", - "Sec-Fetch-Mode: same-origin", - "Sec-Fetch-Site: same-origin"] + "Sec-Fetch-Mode: cors", + "Sec-Fetch-Site: same-origin", + "Priority: u=0", + "TE: trailers"] ); curl_setopt($curlproc, CURLOPT_RETURNTRANSFER, true);