This commit is contained in:
Steven Lee 2023-09-12 08:44:50 +00:00
parent a3d1c3362f
commit 95391ca32d
3 changed files with 19 additions and 11 deletions

View file

@ -93,7 +93,7 @@ # Step 3: Clone the repository to your local machine, and install it.
- **Install the Required Browsers**
to support PDF conversion, had better install Chrominum.
to support PDF conversion, please install Chrominum.
```bash
playwright install --with-deps chromium
@ -114,18 +114,20 @@ # Step 3: Clone the repository to your local machine, and install it.
pip install pyppeteer
```
- **Install the Required Browsers**
- **Use your own Browsers**
```bash
pyppeteer-install
```
pyppeteer alow you use already installed browsers, if you do not want to run the above command, please set the following envirment
pyppeteer alow you use installed browsers, please set the following envirment
```bash
export PUPPETEER_EXECUTABLE_PATH = /path/to/your/chromium or edge or chrome
```
please do not use this command to install browser, it is too old
```bash
pyppeteer-install
```
- **modify `config.yaml`**
uncomment MERMAID_ENGINE from config.yaml and change it to `pyppeteer`