We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c700fd commit 4efad73Copy full SHA for 4efad73
scripts/deno/bots.ts
@@ -44,7 +44,11 @@ const { QueryExecutionId } = await client.send(
44
WHERE year = ${date.year}
45
AND month = ${String(date.month).padStart(2, "0")}
46
AND day = ${String(date.day).padStart(2, "0")}
47
- AND request_user_agent NOT LIKE 'Guardian%'
+ AND request_user_agent NOT LIKE 'Guardian/% CFNetwork%'
48
+ AND request_user_agent NOT LIKE 'GuardianNews/%'
49
+ AND request_user_agent NOT LIKE 'Guardian\%20Editions/%'
50
+ AND response_status=200
51
+ AND url != '/robots.txt'
52
GROUP BY request_user_agent
53
ORDER BY request_count desc
54
LIMIT ${100_000}`,
0 commit comments