和彩云自动打卡签到云函数

Related tags

Utilities scf coolpush
Overview

HeCaiYun

和彩云自动打卡签到云函数(Go语言版)

请修改 SignIn.go 文件 17/18/19 行,获取相关参数,具体如何获取,群 824187964@请回答 (1525417489). 抓包数据由其提供.

构建 本地安装golang环境后执行一下命令进行构建

bash

GOPROXY=https://goproxy.cn GOOS=linux GOARCH=amd64 go build -o main .
zip main.zip main

cmd

set GOPROXY=https://goproxy.cn
set GOOS=linux
set GOARCH=amd64
go build -o main .

powershell

$env:GOPROXY='https://goproxy.cn'
$env:GOOS='linux'
$env:GOARCH='amd64'
go build -o main .

注: windows请打包生成的 main 文件为 zip,上传到函数代码处即可

和彩云自动打卡签到云函数(Python版)

位于 SignIn.py 文件中, 修改12/13/14行参数后,拷贝到SCF中即可

Issues
  • 好像不能用了

    好像不能用了

    在60行resp = json.loads(requests.post(target, data=payload).text)这个位置提示这个错误 发生异常: JSONDecodeError Expecting value: line 1 column 1 (char 0)

    During handling of the above exception, another exception occurred:

    File "D:\code\py\Untitled-2.py", line 60, in getTicket resp = json.loads(requests.post(target, data=payload).text) File "D:\code\py\Untitled-2.py", line 123, in run ticket = getTicket() File "D:\code\py\Untitled-2.py", line 147, in run()

    opened by pheotry 3
Owner
Young Xu
When you can't have it anymore, the only thing you can do is don't forget.
Young Xu