aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2025-09-28 13:18:06 -0400
committerlolcat <will@lolcat.ca>2025-09-28 13:18:06 -0400
commitbf6319839ee5871773695f2bed771957cacacbc8 (patch)
treed36e4087837f52a0bee602015a2737569dd2131a
parentfa4aa9a0fda0f40dfaa255c45745d4558fe54a2b (diff)
chrome ua does nothing, nevermind
-rw-r--r--scraper/ddg.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/scraper/ddg.php b/scraper/ddg.php
index 81d23ae..0cce918 100644
--- a/scraper/ddg.php
+++ b/scraper/ddg.php
@@ -34,8 +34,7 @@ class ddg{
switch($reqtype){
case self::req_web:
$headers =
- [//"User-Agent: " . config::USER_AGENT,
- "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
+ ["User-Agent: " . config::USER_AGENT,
"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8",
"Accept-Language: en-US,en;q=0.5",
"Accept-Encoding: gzip",
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage