Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
feat: robots.txt and sitemap.xml utils (#2214)
Jan Bucharfdfec4f4d0a0
diff --git a/docs/examples/crawl_sitemap.mdx b/docs/examples/crawl_sitemap.mdxindex 9a1607dba..a136f00ee 100644--- a/docs/examples/crawl_sitemap.mdx+++ b/docs/examples/crawl_sitemap.mdx@@ -12,7 +12,7 @@ import CheerioSource from '!!raw-loader!roa-loader!./crawl_sitemap_cheerio.ts';import PuppeteerSource from '!!raw-loader!roa-loader!./crawl_sitemap_puppeteer.ts';import PlaywrightSource from '!!raw-loader!roa-loader!./crawl_sitemap_playwright.ts';-This example downloads and crawls the URLs from a sitemap, by using the <ApiLink to="utils/function/downloadListOfUrls">`downloadListOfUrls`</ApiLink> utility method provided by the <ApiLink to="utils">`@crawlee/utils`</ApiLink> module.+This example downloads and crawls the URLs from a sitemap, by using the <ApiLink to="utils/class/Sitemap">`Sitemap`</ApiLink> utility class provided by the <ApiLink to="utils">`@crawlee/utils`</ApiLink> module.<Tabs groupId="crawler-type">diff --git a/docs/examples/crawl_sitemap_cheerio.ts b/docs/examples/crawl_sitemap_cheerio.tsindex cad832f39..d59853af1 100644--- a/docs/examples/crawl_sitemap_cheerio.ts+++ b/docs/examples/crawl_sitemap_cheerio.ts@@ -1,4 +1,4 @@-import { CheerioCrawler, downloadListOfUrls } from 'crawlee';+import { CheerioCrawler, Sitemap } from 'crawlee';const crawler = new CheerioCrawler({// Function called for each URL@@ -8,9 +8,9 @@ const crawler = new CheerioCrawler({maxRequestsPerCrawl: 10, // Limitation for only 10 requests (do not use if you want to crawl a sitemap)});-const listOfUrls = await downloadListOfUrls({ url: 'https://crawlee.dev/sitemap.xml' });+const { urls } = await Sitemap.load('https://crawlee.dev/sitemap.xml');-await crawler.addRequests(listOfUrls);+await crawler.addRequests(urls);// Run the crawlerawait crawler.run();diff --git a/docs/examples/crawl_sitemap_playwright.ts b/docs/examples/crawl_sitemap_playwright.tsindex d829451d1..427399d4c 100644--- a/docs/examples/crawl_sitemap_playwright.ts+++ b/docs/examples/crawl_sitemap_playwright.ts@@ -1,4 +1,4 @@-import { PlaywrightCrawler, downloadListOfUrls } from 'crawlee';+import { PlaywrightCrawler, Sitemap } from 'crawlee';const crawler = new PlaywrightCrawler({// Function called for each URL@@ -8,9 +8,9 @@ const crawler = new PlaywrightCrawler({maxRequestsPerCrawl: 10, // Limitation for only 10 requests (do not use if you want to crawl a sitemap)});-const listOfUrls = await downloadListOfUrls({ url: 'https://crawlee.dev/sitemap.xml' });+const { urls } = await Sitemap.load('https://crawlee.dev/sitemap.xml');-await crawler.addRequests(listOfUrls);+await crawler.addRequests(urls);// Run the crawlerawait crawler.run();diff --git a/docs/examples/crawl_sitemap_puppeteer.ts b/docs/examples/crawl_sitemap_puppeteer.tsindex 96122d590..7718bd02b 100644--- a/docs/examples/crawl_sitemap_puppeteer.ts+++ b/docs/examples/crawl_sitemap_puppeteer.ts@@ -1,4 +1,4 @@-import { PuppeteerCrawler, downloadListOfUrls } from 'crawlee';+import { PuppeteerCrawler, Sitemap } from 'crawlee';const crawler = new PuppeteerCrawler({// Function called for each URL@@ -8,9 +8,9 @@ const crawler = new PuppeteerCrawler({maxRequestsPerCrawl: 10, // Limitation for only 10 requests (do not use if you want to crawl a sitemap)});-const listOfUrls = await downloadListOfUrls({ url: 'https://crawlee.dev/sitemap.xml' });+const { urls } = await Sitemap.load('https://crawlee.dev/sitemap.xml');-await crawler.addRequests(listOfUrls);+await crawler.addRequests(urls);// Run the crawlerawait crawler.run();diff --git a/package.json b/package.jsonindex 8f1aa8d5e..22b524beb 100644--- a/package.json+++ b/package.json@@ -72,6 +72,7 @@"@types/proper-lockfile": "^4.1.2","@types/ps-tree": "^1.1.2","@types/rimraf": "^3.0.2",+ "@types/sax": "^1.0.0","@types/semver": "^7.3.12","@types/stream-json": "^1.7.2","@types/tough-cookie": "^4.0.2",@@ -95,6 +96,7 @@"is-ci": "^3.0.1","lerna": "^8.0.0","lint-staged": "^15.0.0",+ "nock": "^13.4.0","playwright": "1.40.1","portastic": "^1.0.1","proxy": "^1.0.2",diff --git a/packages/utils/package.json b/packages/utils/package.jsonindex 790a720a3..0ab704bf6 100644--- a/packages/utils/package.json+++ b/packages/utils/package.json@@ -51,8 +51,10 @@"@apify/ps-tree": "^1.2.0","@crawlee/types": "3.6.2","cheerio": "^1.0.0-rc.12",- "got-scraping": "^4.0.0",+ "got-scraping": "^4.0.3","ow": "^0.28.1",+ "robots-parser": "^3.0.1",+ "sax": "^1.3.0","tslib": "^2.4.0"}}diff --git a/packages/utils/src/index.ts b/packages/utils/src/index.tsindex 9e9024e5b..7ed721e9e 100644--- a/packages/utils/src/index.ts+++ b/packages/utils/src/index.ts@@ -10,5 +10,7 @@ export * from './internals/typedefs';export * from './internals/error_tracker';export * from './internals/open_graph_parser';export * from './internals/gotScraping';+export * from './internals/robots';+export * from './internals/sitemap';export { Dictionary, Awaitable, Constructor } from '@crawlee/types';diff --git a/packages/utils/src/internals/robots.ts b/packages/utils/src/internals/robots.tsnew file mode 100644index 000000000..ac7ec6189--- /dev/null+++ b/packages/utils/src/internals/robots.ts@@ -0,0 +1,98 @@+// @ts-expect-error This throws a compilation error due to got-scraping being ESM only but we only import types, so its alllll gooooood+import type { HTTPError as HTTPErrorClass } from 'got-scraping';+import type { Robot } from 'robots-parser';+import robotsParser from 'robots-parser';++import { gotScraping } from './gotScraping';+import { Sitemap } from './sitemap';++let HTTPError: typeof HTTPErrorClass;++/**+ * Loads and queries information from a robots.txt file.+ *+ * **Example usage:**+ * ```javascript+ * // Load the robots.txt file+ * const robots = await RobotsFile.load('https://crawlee.dev/docs/introduction/first-crawler');+ *+ * // Check if a URL should be crawled according to robots.txt+ * const url = 'https://crawlee.dev/api/puppeteer-crawler/class/PuppeteerCrawler';+ * if (robots.isAllowed(url)) {+ * await crawler.addRequests([url]);+ * }+ *+ * // Enqueue all links in the sitemap(s)+ * await crawler.addRequests(await robots.parseUrlsFromSitemaps());+ * ```+ */+export class RobotsFile {+ private constructor(+ private robots: Pick<Robot, 'isAllowed' | 'getSitemaps'>,+ private proxyUrl?: string,+ ) {}++ /**+ * Determine the location of a robots.txt file for a URL and fetch it.+ * @param url the URL to fetch robots.txt for+ * @param proxyUrl a proxy to be used for fetching the robots.txt file+ */+ static async find(url: string, proxyUrl?: string): Promise<RobotsFile> {+ const robotsFileUrl = new URL(url);+ robotsFileUrl.pathname = '/robots.txt';+ robotsFileUrl.search = '';++ return RobotsFile.load(robotsFileUrl.toString(), proxyUrl);+ }++ protected static async load(url: string, proxyUrl?: string): Promise<RobotsFile> {+ if (!HTTPError) {+ HTTPError = (await import('got-scraping')).HTTPError;+ }++ try {+ const response = await gotScraping({+ url,+ proxyUrl,+ method: 'GET',+ responseType: 'text',+ });++ return new RobotsFile(robotsParser(url.toString(), response.body), proxyUrl);+ } catch (e) {+ if (e instanceof HTTPError && e.response.statusCode === 404) {+ return new RobotsFile({ isAllowed() { return true; }, getSitemaps() { return []; } }, proxyUrl);+ }+ throw e;+ }+ }++ /**+ * Check if a URL should be crawled by robots.+ * @param url the URL to check against the rules in robots.txt+ */+ isAllowed(url: string): boolean {+ return this.robots.isAllowed(url, '*') ?? false;+ }++ /**+ * Get URLs of sitemaps referenced in the robots file.+ */+ getSitemaps(): string[] {+ return this.robots.getSitemaps();+ }++ /**+ * Parse all the sitemaps referenced in the robots file.+ */+ async parseSitemaps(): Promise<Sitemap> {+ return Sitemap.load(this.robots.getSitemaps(), this.proxyUrl);+ }++ /**+ * Get all URLs from all the sitemaps referenced in the robots file. A shorthand for `(await robots.parseSitemaps()).urls`.+ */+ async parseUrlsFromSitemaps(): Promise<string[]> {+ return (await this.parseSitemaps()).urls;+ }+}diff --git a/packages/utils/src/internals/sitemap.ts b/packages/utils/src/internals/sitemap.tsnew file mode 100644index 000000000..208ad3d5e--- /dev/null+++ b/packages/utils/src/internals/sitemap.ts@@ -0,0 +1,116 @@+import type { Duplex } from 'node:stream';+import { createGunzip } from 'node:zlib';++import log from '@apify/log';+import type { SAXStream } from 'sax';+import sax from 'sax';++class ParsingState {+ sitemapUrls: string[] = [];+ urls: string[] = [];+ visitedSitemapUrls: string[] = [];+ context?: 'sitemapindex' | 'urlset';+ loc = false;++ resetContext() {+ this.context = undefined;+ this.loc = false;+ }+}++/**+ * Loads one or more sitemaps from given URLs, following references in sitemap index files, and exposes the contained URLs.+ *+ * **Example usage:**+ * ```javascript+ * // Load a sitemap+ * const sitemap = await Sitemap.load(['https://example.com/sitemap.xml', 'https://example.com/sitemap_2.xml.gz']);+ *+ * // Enqueue all the contained URLs (including those from sub-sitemaps from sitemap indexes)+ * await crawler.addRequests(sitemap.urls);+ * ```+ */+export class Sitemap {+ constructor(readonly urls: string[]) {}++ protected static createParser(parsingState: ParsingState, onEnd: () => void, onError: (error: Error) => void): SAXStream {+ const parser = sax.createStream(true);++ parser.on('opentag', (node) => {+ if (node.name === 'loc' && parsingState.context !== undefined) {+ parsingState.loc = true;+ }+ if (node.name === 'urlset') {+ parsingState.context = 'urlset';+ }+ if (node.name === 'sitemapindex') {+ parsingState.context = 'sitemapindex';+ }+ });++ parser.on('closetag', (name) => {+ if (name === 'loc') {+ parsingState.loc = false;+ }+ });++ parser.on('text', (text) => {+ if (parsingState.loc) {+ if (parsingState.context === 'sitemapindex') {+ if (!parsingState.visitedSitemapUrls.includes(text)) {+ parsingState.sitemapUrls.push(text);+ }+ }+ if (parsingState.context === 'urlset') {+ parsingState.urls.push(text);+ }+ }+ });++ parser.on('end', onEnd);+ parser.on('error', onError);++ return parser;+ }++ /**+ * Fetch sitemap content from given URL or URLs and return URLs of referenced pages.+ * @param urls sitemap URL(s)+ * @param proxyUrl URL of a proxy to be used for fetching sitemap contents+ */+ static async load(urls: string | string[], proxyUrl?: string): Promise<Sitemap> {+ const { gotScraping } = await import('got-scraping');++ const parsingState = new ParsingState();+ parsingState.sitemapUrls = Array.isArray(urls) ? urls : [urls];++ while (parsingState.sitemapUrls.length > 0) {+ const sitemapUrl = parsingState.sitemapUrls.pop()!;+ parsingState.visitedSitemapUrls.push(sitemapUrl);+ parsingState.resetContext();++ try {+ const sitemapStream = await new Promise<ReturnType<typeof gotScraping.stream>>((resolve, reject) => {+ const request = gotScraping.stream({ url: sitemapUrl, proxyUrl, method: 'GET' });+ request.on('response', () => resolve(request));+ request.on('error', reject);+ });++ if (sitemapStream.response!.statusCode === 200) {+ await new Promise((resolve, reject) => {+ const parser = Sitemap.createParser(parsingState, () => resolve(undefined), reject);+ let stream: Duplex = sitemapStream;+ if (sitemapUrl.endsWith('.gz')) {+ stream = stream.pipe(createGunzip());+ }+ stream.pipe(parser);+ });+ }+ } catch (e) {+ log.warning(`Malformed sitemap content: ${sitemapUrl}`);+ }+ }++ return new Sitemap(parsingState.urls);+ }+}diff --git a/packages/utils/test/robots.test.ts b/packages/utils/test/robots.test.tsnew file mode 100644index 000000000..b231c0da8--- /dev/null+++ b/packages/utils/test/robots.test.ts@@ -0,0 +1,51 @@+import nock from 'nock';+import { describe, expect, it, beforeEach } from 'vitest';++import { RobotsFile } from '../src/internals/robots';++describe('RobotsFile', () => {+ beforeEach(() => {+ nock.disableNetConnect();+ nock('http://not-exists.com').persist()+ .get('/robots.txt')+ .reply(200, [+ 'User-agent: *',+ 'Disallow: *deny_all/',+ 'crawl-delay: 10',++ 'User-agent: Googlebot',+ 'Disallow: *deny_googlebot/',+ 'crawl-delay: 1',++ 'user-agent: Mozilla',+ 'crawl-delay: 2',++ 'sitemap: http://not-exists.com/sitemap_1.xml',+ 'sitemap: http://not-exists.com/sitemap_2.xml',+ ].join('\n'))+ .get('*')+ .reply(404);+ });++ afterEach(() => {+ nock.cleanAll();+ nock.enableNetConnect();+ });++ it('generates the correct robots.txt URL', async () => {+ const robots = await RobotsFile.find('http://not-exists.com/nested/index.html');+ expect(robots.getSitemaps()).not.toHaveLength(0);+ });++ it('parses allow/deny directives from robots.txt', async () => {+ const robots = await RobotsFile.find('http://not-exists.com/robots.txt');+ expect(robots.isAllowed('http://not-exists.com/something/page.html')).toBe(true);+ expect(robots.isAllowed('http://not-exists.com/deny_googlebot/page.html')).toBe(true);+ expect(robots.isAllowed('http://not-exists.com/deny_all/page.html')).toBe(false);+ });++ it('extracts sitemap urls', async () => {+ const robots = await RobotsFile.find('http://not-exists.com/robots.txt');+ expect(robots.getSitemaps()).toEqual(['http://not-exists.com/sitemap_1.xml', 'http://not-exists.com/sitemap_2.xml']);+ });+});diff --git a/packages/utils/test/sitemap.test.ts b/packages/utils/test/sitemap.test.tsnew file mode 100644index 000000000..0d32af4e7--- /dev/null+++ b/packages/utils/test/sitemap.test.ts@@ -0,0 +1,114 @@+import nock from 'nock';+import { describe, expect, it, beforeEach } from 'vitest';++import { Sitemap } from '../src/internals/sitemap';++describe('Sitemap', () => {+ beforeEach(() => {+ nock.disableNetConnect();+ nock('http://not-exists.com').persist()+ .get('/sitemap_child.xml')+ .reply(200, [+ '<?xml version="1.0" encoding="UTF-8"?>',+ '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">',+ '<url>',+ '<loc>http://not-exists.com/</loc>',+ '<lastmod>2005-01-01</lastmod>',+ '<changefreq>monthly</changefreq>',+ '<priority>0.8</priority>',+ '</url>',+ '<url>',+ '<loc>http://not-exists.com/catalog?item=12&desc=vacation_hawaii</loc>',+ '<changefreq>weekly</changefreq>',+ '</url>',+ '<url>',+ '<loc>http://not-exists.com/catalog?item=73&desc=vacation_new_zealand</loc>',+ '<lastmod>2004-12-23</lastmod>',+ '<changefreq>weekly</changefreq>',+ '</url>',+ '<url>',+ '<loc>http://not-exists.com/catalog?item=74&desc=vacation_newfoundland</loc>',+ '<lastmod>2004-12-23T18:00:15+00:00</lastmod>',+ '<priority>0.3</priority>',+ '</url>',+ '<url>',+ '<loc>http://not-exists.com/catalog?item=83&desc=vacation_usa</loc>',+ '<lastmod>2004-11-23</lastmod>',+ '</url>',+ '</urlset>',+ ].join('\n'))+ .get('/sitemap_child.xml.gz')+ .reply(200, Buffer.from([+ 'H4sIAAAAAAAAA62S306DMBTG73kK0gtvDLSFLSKWcucTzOulKR00QottGZtPbxfQEEWXqElzkvMv',+ '3y/fKSlPXRsehbFSqwLgGIFQKK4rqeoCPO0eowyUNCCDaa1woR9WtgCNc30O4TiOsZVOdKy3sTY1',+ 'tLzxiYVzEaL4HkzLPraa03lRaReJk7TOxlx3kMBLz08w6zpd0QShbYSwf74z1wLCG6ZqcTDihXZa',+ 'uaY9E7ioBaQ3UhvpzhTFGYEfWUDgBHANgzPHWl2XF/gCJzes6x8qYXlxZL7l/dk3bGRSvuMuxEch',+ 'nr/w/Eb2Ll2RVWLcvwrWMlWtWLWJcBIl6TdW/R/ZZp3soAdV/Yy2w1mOUI63tz4itCRd3Cz9882y',+ 'NfMGy9bJ8CfTZkU4fXUavAGtDs17GwMAAA==',+ ].join('\n'), 'base64'))+ .get('/sitemap_parent.xml')+ .reply(200, [+ '<?xml version="1.0" encoding="UTF-8"?>',+ '<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">',+ '<sitemap>',+ '<loc>http://not-exists.com/sitemap_child.xml</loc>',+ '<lastmod>2004-12-23</lastmod>',+ '</sitemap>',+ '</sitemapindex>',+ ].join('\n'))+ .get('/not_actual_xml.xml')+ .reply(200, [+ '<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">',+ '<TITLE>301 Moved</TITLE></HEAD><BODY>',+ '<H1>301 Moved</H1>',+ 'The document has moved',+ '<A HREF="https://ads.google.com/home/">here</A>.',+ '</BODY></HTML>',+ ].join('\n'))+ .get('*')+ .reply(404);+ });++ afterEach(() => {+ nock.cleanAll();+ nock.enableNetConnect();+ });++ it('extracts urls from sitemaps', async () => {+ const sitemap = await Sitemap.load('http://not-exists.com/sitemap_child.xml');+ expect(new Set(sitemap.urls)).toEqual(new Set([+ 'http://not-exists.com/',+ 'http://not-exists.com/catalog?item=12&desc=vacation_hawaii',+ 'http://not-exists.com/catalog?item=73&desc=vacation_new_zealand',+ 'http://not-exists.com/catalog?item=74&desc=vacation_newfoundland',+ 'http://not-exists.com/catalog?item=83&desc=vacation_usa',+ ]));+ });++ it('extracts urls from gzipped sitemaps', async () => {+ const sitemap = await Sitemap.load('http://not-exists.com/sitemap_child.xml.gz');+ expect(new Set(sitemap.urls)).toEqual(new Set([+ 'http://not-exists.com/',+ 'http://not-exists.com/catalog?item=12&desc=vacation_hawaii',+ 'http://not-exists.com/catalog?item=73&desc=vacation_new_zealand',+ 'http://not-exists.com/catalog?item=74&desc=vacation_newfoundland',+ 'http://not-exists.com/catalog?item=83&desc=vacation_usa',+ ]));+ });++ it('follows links in sitemap indexes', async () => {+ const sitemap = await Sitemap.load('http://not-exists.com/sitemap_parent.xml');+ expect(new Set(sitemap.urls)).toEqual(new Set([+ 'http://not-exists.com/',+ 'http://not-exists.com/catalog?item=12&desc=vacation_hawaii',+ 'http://not-exists.com/catalog?item=73&desc=vacation_new_zealand',+ 'http://not-exists.com/catalog?item=74&desc=vacation_newfoundland',+ 'http://not-exists.com/catalog?item=83&desc=vacation_usa',+ ]));+ });++ it('does not break on invalid xml', async () => {+ const sitemap = await Sitemap.load('http://not-exists.com/not_actual_xml.xml');+ expect(sitemap.urls).toEqual([]);+ });+});diff --git a/packages/utils/tsconfig.build.json b/packages/utils/tsconfig.build.jsonindex 856db0f21..4c23c1922 100644--- a/packages/utils/tsconfig.build.json+++ b/packages/utils/tsconfig.build.json@@ -3,5 +3,6 @@"compilerOptions": {"outDir": "./dist"},- "include": ["src/**/*"]+ "include": ["src/**/*"],+ "rootDir": "./src"}diff --git a/yarn.lock b/yarn.lockindex e123270d0..0eb163ff3 100644--- a/yarn.lock+++ b/yarn.lock@@ -664,6 +664,7 @@ __metadata:"@types/proper-lockfile": "npm:^4.1.2""@types/ps-tree": "npm:^1.1.2""@types/rimraf": "npm:^3.0.2"+ "@types/sax": "npm:^1.0.0""@types/semver": "npm:^7.3.12""@types/stream-json": "npm:^1.7.2""@types/tough-cookie": "npm:^4.0.2"@@ -687,6 +688,7 @@ __metadata:is-ci: "npm:^3.0.1"lerna: "npm:^8.0.0"lint-staged: "npm:^15.0.0"+ nock: "npm:^13.4.0"playwright: "npm:1.40.1"portastic: "npm:^1.0.1"proxy: "npm:^1.0.2"@@ -728,8 +730,10 @@ __metadata:"@apify/ps-tree": "npm:^1.2.0""@crawlee/types": "npm:3.6.2"cheerio: "npm:^1.0.0-rc.12"- got-scraping: "npm:^4.0.0"+ got-scraping: "npm:^4.0.3"ow: "npm:^0.28.1"+ robots-parser: "npm:^3.0.1"+ sax: "npm:^1.3.0"tslib: "npm:^2.4.0"languageName: unknownlinkType: soft@@ -2262,6 +2266,15 @@ __metadata:languageName: nodelinkType: hard+"@types/sax@npm:^1.0.0":+ version: 1.2.7+ resolution: "@types/sax@npm:1.2.7"+ dependencies:+ "@types/node": "npm:*"+ checksum: d077a761a0753b079bf8279b3993948030ca86ed9125437b9b29c1de40db9b2deb7fddc369f014b58861d450e8b8cc75f163aa29dc8cea81952efbfd859168cf+ languageName: node+ linkType: hard+"@types/semver@npm:^7.3.12, @types/semver@npm:^7.5.0":version: 7.5.6resolution: "@types/semver@npm:7.5.6"@@ -4190,7 +4203,7 @@ __metadata:languageName: nodelinkType: hard-"debug@npm:4, debug@npm:4.3.4, debug@npm:^4.1.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4":+"debug@npm:4, debug@npm:4.3.4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4":version: 4.3.4resolution: "debug@npm:4.3.4"dependencies:@@ -6254,7 +6267,7 @@ __metadata:languageName: nodelinkType: hard-"got-scraping@npm:^4.0.0":+"got-scraping@npm:^4.0.0, got-scraping@npm:^4.0.3":version: 4.0.3resolution: "got-scraping@npm:4.0.3"dependencies:@@ -8565,6 +8578,17 @@ __metadata:languageName: nodelinkType: hard+"nock@npm:^13.4.0":+ version: 13.4.0+ resolution: "nock@npm:13.4.0"+ dependencies:+ debug: "npm:^4.1.0"+ json-stringify-safe: "npm:^5.0.1"+ propagate: "npm:^2.0.0"+ checksum: b2e4407e71b6e9c42bc74bf631c008b79fa06b17e885d270b8f3ac7081d029dd966cd09024acb96ae5dd77a4737cc86951340715ffabece6893a62dc71ce5b08+ languageName: node+ linkType: hard+"node-fetch@npm:2.6.7":version: 2.6.7resolution: "node-fetch@npm:2.6.7"@@ -9766,6 +9790,13 @@ __metadata:languageName: nodelinkType: hard+"propagate@npm:^2.0.0":+ version: 2.0.1+ resolution: "propagate@npm:2.0.1"+ checksum: 01e1023b60ae4050d1a2783f976d7db702022dbdb70dba797cceedad8cfc01b3939c41e77032f8c32aa9d93192fe937ebba1345e8604e5ce61fd3b62ee3003b8+ languageName: node+ linkType: hard+"proper-lockfile@npm:^4.1.2":version: 4.1.2resolution: "proper-lockfile@npm:4.1.2"@@ -10357,6 +10388,13 @@ __metadata:languageName: nodelinkType: hard+"robots-parser@npm:^3.0.1":+ version: 3.0.1+ resolution: "robots-parser@npm:3.0.1"+ checksum: 91443b15ab1b39f69ac998a2dae8859ad35c981504e5facbb34d494fd6163877e821ce7ed830d14e9efdd6ed28c347491c3d699738943501dec2b6bedfdd6a81+ languageName: node+ linkType: hard+"rollup@npm:^4.2.0":version: 4.9.1resolution: "rollup@npm:4.9.1"@@ -10493,6 +10531,13 @@ __metadata:languageName: nodelinkType: hard+"sax@npm:^1.3.0":+ version: 1.3.0+ resolution: "sax@npm:1.3.0"+ checksum: 599dbe0ba9d8bd55e92d920239b21d101823a6cedff71e542589303fa0fa8f3ece6cf608baca0c51be846a2e88365fac94a9101a9c341d94b98e30c4deea5bea+ languageName: node+ linkType: hard+"saxes@npm:^6.0.0":version: 6.0.0resolution: "saxes@npm:6.0.0"@@ -12411,7 +12456,7 @@ __metadata:languageName: nodelinkType: hard-"ws@npm:8.15.1, ws@npm:^8.14.2":+"ws@npm:8.15.1":version: 8.15.1resolution: "ws@npm:8.15.1"peerDependencies:@@ -12441,6 +12486,21 @@ __metadata:languageName: nodelinkType: hard+"ws@npm:^8.14.2":+ version: 8.15.0+ resolution: "ws@npm:8.15.0"+ peerDependencies:+ bufferutil: ^4.0.1+ utf-8-validate: ">=5.0.2"+ peerDependenciesMeta:+ bufferutil:+ optional: true+ utf-8-validate:+ optional: true+ checksum: b778a405b2589ffbf549323e2f404f1f72e372a049d332d2f0b1f33057e9fbb14a05aa474cb156e4584b418cd95edf4297c0ca5263d6519e8009064bf8e0b80d+ languageName: node+ linkType: hard+"xml-name-validator@npm:^5.0.0":version: 5.0.0resolution: "xml-name-validator@npm:5.0.0"