diff options
| author | lolcat <will@lolcat.ca> | 2025-09-28 13:18:06 -0400 |
|---|---|---|
| committer | lolcat <will@lolcat.ca> | 2025-09-28 13:18:06 -0400 |
| commit | bf6319839ee5871773695f2bed771957cacacbc8 (patch) | |
| tree | d36e4087837f52a0bee602015a2737569dd2131a /scraper | |
| parent | fa4aa9a0fda0f40dfaa255c45745d4558fe54a2b (diff) | |
chrome ua does nothing, nevermind
Diffstat (limited to 'scraper')
| -rw-r--r-- | scraper/ddg.php | 3 |
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", |
