~boehs/rsslytics

575153cbb8445eee6092db9db42f062a31be5485 — Evan Boehs 2 months ago 618b4c2 main
bots
1 files changed, 11 insertions(+), 1 deletions(-)

M index.ts
M index.ts => index.ts +11 -1
@@ 62,7 62,17 @@ let replacements = {
  "otter%20rss": "otter rss",
};

let excludes = ["bytespider", "petalbot", "amazonbot", "ariadne", "bingbot"];
let excludes = [
  "bytespider",
  "petalbot",
  "amazonbot",
  "ariadne",
  "bingbot",
  "googlebot",
  "dataforseo",
  "dotbot",
  "serpstatbot",
];
let excludesUrl = ["wp-includes/wlwmanifest.xml"];

export function countRss(userAgent: string, feedUrl: string, ip: string) {