ReviewOS

also looking at this

stacks/ts-web-scraper

fix: support structured DOM selectors

#847
Merged chris wants to merge codex/transfermarkt-dom into main
6 files +225 -57
test/robots.test.tsmodified+6-1
Changes to test/robots.test.ts
@@ -362,7 +362,12 @@ Disallow: /narrower
362362`
363363
364364 function parserFor(userAgent: string) {
365 const parser = new RobotsParser({ userAgent, respectRobotsTxt: true })
365 const parser = new RobotsParser({
366 userAgent,
367 respectRobotsTxt: true,
368 cacheTime: 60_000,
369 timeout: 5_000,
370 })
366371 return { parser, parsed: (parser as any).parse(fixture) }
367372 }
368373