From f4e5522cc43da1ad2c0f23478bd1cefee95b8829 Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Wed, 3 Apr 2024 23:25:45 +0800 Subject: [PATCH] docs: readme --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 6e2e0f18..7f62fb33 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,19 @@ 自动刷 Linux do 的文章 以及自动点赞 代码在 index_passage_list 中 + +## puppeteer 运行方法 + +### Windows + +npm install +node .\pteer.js + +### Linux 额外安装以下包 + +```sh +sudo apt-get update +sudo apt install nodejs npm -y +sudo apt-get install -y wget unzip fontconfig locales gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget + +```