mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-21 19:49:32 +02:00
update crawlee
This commit is contained in:
parent
50e7ed4679
commit
f041b45bf9
@ -5,7 +5,12 @@ crawlee
|
|||||||
scraping and browser automation library.
|
scraping and browser automation library.
|
||||||
|
|
||||||
```bash
|
```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
|
$ docker-compose build my-crawler
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user