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.

Cosmetic changes in texts and docs

Jan Curnab88434a95ad
diff --git a/README.md b/README.md
index b9e6ff1dd..f9815ef1f 100644
--- a/README.md
+++ b/README.md
@@ -295,11 +295,8 @@ This will be used in the future.
`Apify.call` function can be used to quickly execute other act and get it's output. Example use:
```javascript
-const data = await Apify.call('john23/my-favourite-act', {
- timeoutSecs: 300,
- body: 'SOME_INPUT_DATA',
- contentType: 'text/plain',
-})
+const run = await Apify.call('john23/my-favourite-act', { myInput: 123 });
+console.dir(run.output);
```
diff --git a/package.json b/package.json
index 06e0b1de7..e9f3d945c 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "apify",
"version": "0.4.29",
- "description": "Apify runtime for JavaScript",
+ "description": "Apify Actor runtime for JavaScript",
"main": "build/index.js",
"keywords": [
"apify",
diff --git a/src/actor.js b/src/actor.js
index c046dc53f..955734f42 100644
--- a/src/actor.js
+++ b/src/actor.js
@@ -425,7 +425,7 @@ export const call = (actId, input, opts = {}) => {
let { contentType } = opts;
if (input) {
- // TODO: this is duplicite with setValue()'s code
+ // TODO: this is duplicate with setValue()'s code
if (contentType === null || contentType === undefined) {
contentType = 'application/json';
try {
diff --git a/src/puppeteer.js b/src/puppeteer.js
index 9e95ffec1..334418c1b 100644
--- a/src/puppeteer.js
+++ b/src/puppeteer.js
@@ -18,8 +18,9 @@ export const getDefaultPuppeteerOptions = () => ({
/**
* @memberof module:Apify
* @function
- * @description Launches Puppeteer preconfigured to work with Apify platform.
- * The result of the function is a result of puppeteer.launch().
+ * @description Launches headless Chrome using Puppeteer pre-configured to work with the Apify Actor platform.
+ * The result of the function is the same as result of `puppeteer.launch()`.
+ * See https://github.com/GoogleChrome/puppeteer for more details.
* @param options Optional settings, their defaults are provided in the getDefaultPuppeteerOptions function.
* @return Returns a promise.
*/