From 4b000c2d0ebb610a22ac3cd5fbad6f3c6dc6254d Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Mon, 18 Dec 2023 23:41:25 +0530 Subject: [PATCH] db-tabulator: don't follow redirect while reading in queries !restart --- db-tabulator/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db-tabulator/app.ts b/db-tabulator/app.ts index e930a60..ac43afb 100644 --- a/db-tabulator/app.ts +++ b/db-tabulator/app.ts @@ -52,7 +52,7 @@ export async function processQueries(allQueries: Record) { } export async function fetchQueriesForPage(page: string): Promise { - let text = (await bot.read(page))?.revisions?.[0]?.content; + let text = (await bot.read(page, { redirects: false }))?.revisions?.[0]?.content; if (!text) { return []; }