aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2025-08-02 17:44:10 -0400
committerlolcat <will@lolcat.ca>2025-08-02 17:44:10 -0400
commit2c4dc7da84dbed4dbea21e8093af4e77b66b03d6 (patch)
tree7e5ecac136d5a008e8bc054d724fa83fc41a1285
parent5a0f5b868ac2f007c39e085f8c6f720ac70e8957 (diff)
lol forgot the request is still for yt
-rw-r--r--scraper/sepiasearch.php15
1 files 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);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage