GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xuess/puppeteer-sign: 基于puppeteer(无头浏览器)签到,支持什么值得买签到

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
doc
doc
 
 
lib
lib
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
config.js
config.js
 
 
lin.js
lin.js
 
 
main.js
main.js
 
 
package.json
package.json
 
 
smzdm.js
smzdm.js
 
 

Repository files navigation

puppeteer-sign

基于 puppeteer,什么值得买签到,完全模拟人工点击

使用方法

依赖环境

nodejs 最好使用最新稳定版v12 https://nodejs.org/en/download/

安装依赖

由于puppeteer需要安装软件包,推荐使用国内淘宝镜像安装 cnpm 安装 npm i cnpm -g

cnpm i

参数配置

邮箱配置

默认配置的是126的邮箱登录信息

也可以用其他平台的邮箱,详见/lib/mail.js 文件中的说明

打开根目录的 config.js 文件,根据下图配置

邮件会发送每天的截图信息,方便查阅。

什么值得买 cookie配置

依赖 chrome 插件 editthiscookie 用来取网站cookie,有梯子的直接应用商店安装即可,没梯子的,可以百度搜搜安装一下。

具体步骤详解

  1. 打开 https://www.smzdm.com/ 官网并登录
  2. 点开 editthiscookie 插件然后点如下图按钮
  3. 把复制的cookie粘贴到下图中

支持多个账号

执行

推荐使用 pm2 ,具体可以详见 https://www.jianshu.com/p/e15fd72727fe

# 可以用node直接运行
node main

# 通过pm2执行
pm2 start main.js

# 查看运行日志
pm2 log main

About

基于puppeteer(无头浏览器)签到,支持什么值得买签到

Resources

Readme
MIT license
Activity

Stars

49 stars

Watchers

1 watching

Forks

16 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.