Skip to content

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.

fixed capitalization.

Petr Patekbbdbf76f04a9
diff --git a/test/crawlers/cheerio_crawler.js b/test/crawlers/cheerio_crawler.js
index bc03acd68..75f9c53e0 100644
--- a/test/crawlers/cheerio_crawler.js
+++ b/test/crawlers/cheerio_crawler.js
@@ -294,7 +294,7 @@ describe('CheerioCrawler', () => {
});
await crawler.run();
- headers.forEach(h => expect(h.accept).to.be.eql('text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'));
+ headers.forEach(h => expect(h.Accept).to.be.eql('text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'));
});
describe('by throwing', () => {