Coder Social home page Coder Social logo

alipan_auto_sign1's Introduction

阿里云盘自动签到

2023-11-02更新:不需要配置仓库secret,直接修改项目里的config.yaml配置文件即可

2023-11-01更新:增加京东每日签到领豆,具体操作请看https://www.xiaoliu.life/p/20231101a

2023-10-25更新:增加B站直播签到,具体操作请看https://www.xiaoliu.life/p/20231025a

相较于昨天的实现,今天下班后加了下pushplus微信推送,能够实时了解每天签到的情况方便refresh_token失效的时候我们更换。

pushplus

pushplus是一个专门的推送平台,利用服务号能主动给用户发消息的机制来进行推送的。

官网:pushplus(推送加)-微信消息推送平台

1

使用的话需要登录注册且关注它的公众号后才能接收到消息推送。

2

登陆后会看见你自己的token,有了token后才能调用接口通过服务号给你自己发消息。

github action

项目地址:nibabashilkk/alipan_auto_sign: 阿里云盘每日自动签到shell脚本 (github.com)

这个是我仓库的地址,需要你fork到自己仓库里面。

3

fork完后到你刚刚fork的仓库创建repository secret,具体路径是Settings->Secrets and variables->Actions->New repository secret

4

注意新建的两个secret名字一定要是refresh_tokenpushplus_token

5

两个密钥都填好后是下面这个样子。

6

refresh_token的值是登陆后从阿里云盘的localStorage获取的,不知道怎么获取可以看看这篇文章——阿里云盘每天自动签到,可以领超级会员 (qq.com)

pushplus_token则是第一步登录pushplus后显示的token。

两个参数都弄好后应该就可以运行了,可以测试下配置是否正确。

7

点击后会立刻执行脚本,可以点进去运行任务里查看日志。

8

由于我微信推送太多次了,这次就没退过去,正常情况下是像下面那样能在公众号收到消息的。

9

如果refresh_token失效的话也会推送给你提醒你更换token。

10

refresh_token失效的话更新下secret即可。

11

默认是每天早上八点半运行,实际可能会到中午十二点才会运行(之前试过天气推送就会延迟)。

alipan_auto_sign1's People

Contributors

nibabashilkk avatar yjun123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.