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
Updated README.md
Jan Curndede82e76c16
diff --git a/README.md b/README.mdindex ca9924a56..946cdc6ef 100644--- a/README.md+++ b/README.md@@ -7,7 +7,7 @@ This package is still a work in progress, stay tuned.## Installation-```+```bashnpm install apifier --save```@@ -15,13 +15,13 @@ npm install apifier --saveImport the package to your source code-```+```javascriptconst Apifier = require('apifier');```And use `Apifier.main(func)` to pass a user function that will be invoked by the Apifier actor runtime.-```+```javascriptApifier.main( (options) => {// my synchronous function that returns immediatellyconsole.dir(`Received: ${options.input}`);@@ -31,7 +31,7 @@ Apifier.main( (options) => {If the user function returns a promise, it is considered as asynchronous.-```+```javascriptApifier.main( (options) => {// my asynchronous function that returns a promiseconsole.dir(`Received: ${options.input}`);@@ -46,7 +46,7 @@ Apifier.main( (options) => {```The user function has a single argument `options` which is an object such as:-```+```javascript{input: Object, // HTTP payload parsed as JSON (if possible) or as text}@@ -55,7 +55,7 @@ The user function has a single argument `options` which is an object such as:Instead of the `Apifier.main()` helper function,you can run a web server inside the act and handle the requests all by yourself.-```+```javascriptconst http = require('http');const server = http.createServer((req, res) => {