@liberstudio/cloudflare-list 2.4.4 → 2.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,11 +8,14 @@ exports.googleBotOverlapsCidr = googleBotOverlapsCidr;
|
|
|
8
8
|
const axios_1 = __importDefault(require("axios"));
|
|
9
9
|
const dns_1 = require("dns");
|
|
10
10
|
const cidr_util_1 = require("./cidr.util");
|
|
11
|
-
//
|
|
12
|
-
//
|
|
13
|
-
//
|
|
11
|
+
// common-crawlers.json = Googlebot Search + altri crawler comuni, con range IP
|
|
12
|
+
// stretti. NB: il vecchio URL .../search/apis/ipranges/googlebot.json è stato
|
|
13
|
+
// dismesso da Google (risponde "Temporarily Broken") — questo è il rimpiazzo
|
|
14
|
+
// ufficiale indicato da Google. special-crawlers e user-triggered-fetchers li
|
|
15
|
+
// escludiamo di proposito: includono range GCP molto ampi (Lighthouse, PageSpeed,
|
|
16
|
+
// Feed Fetcher) e causano falsi positivi — non meritano protezione "skip ban".
|
|
14
17
|
const GOOGLE_IP_LIST_URLS = [
|
|
15
|
-
"https://developers.google.com/static/
|
|
18
|
+
"https://developers.google.com/static/crawling/ipranges/common-crawlers.json",
|
|
16
19
|
];
|
|
17
20
|
// Domini dei crawler verificati da Google (per il fallback reverse DNS).
|
|
18
21
|
// NB: .googleusercontent.com è escluso di proposito — è il PTR generico di ogni
|