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
fix: more permissive accept (#3373)
nikitachapovskii-devd03af1bee6bc
diff --git a/packages/utils/src/internals/sitemap.ts b/packages/utils/src/internals/sitemap.tsindex 1cf58e1a8..522ef709e 100644--- a/packages/utils/src/internals/sitemap.ts+++ b/packages/utils/src/internals/sitemap.ts@@ -261,7 +261,7 @@ export async function* parseSitemap<T extends ParseSitemapOptions>(method: 'GET',timeout: networkTimeouts,headers: {- accept: 'text/plain, application/xhtml+xml, application/xml;q=0.9, */*;q=0.8',+ accept: '*/*',},});request.on('response', () => resolve(request));