From f041b45bf9f5a869b90b66b1722cf9d75b15f188 Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 8 Mar 2023 16:07:39 +0800 Subject: [PATCH] update crawlee --- crawlee/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crawlee/README.md b/crawlee/README.md index b8986f5..2615a70 100644 --- a/crawlee/README.md +++ b/crawlee/README.md @@ -5,7 +5,12 @@ crawlee scraping and browser automation library. ```bash -$ docker run --rm -e PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 -e PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 -v $PWD:/tmp -w /tmp apify/actor-node:16 npx crawlee create -t cheerio-js my-crawler +$ docker run --rm -it -v $PWD:/tmp apify/actor-node:16 sh +>>> export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 +>>> export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 +>>> npx crawlee create -t cheerio-js my-crawler +>>> mv my-crawler /tmp +>>> exit $ docker-compose build my-crawler