23

Github GitHub - xcqlucky/JD_Sign_Action: 基于github actions的京东自动化签到

 3 years ago
source link: https://github.com/xcqlucky/JD_Sign_Action
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

基于github action的京东自动化签到

使用NobyDa “京东多合一签到脚本”为基础,移植到github actions自动化执行。

  • 点亮Star
  • 凌晨4点定时执行
  • 自定义:.github/workflows/work.yaml 编辑
  • 点击右上角 Fork 项目;
  • Settings -> Secrets 中添加京东cookie、Server酱SCKEY
    • JD_COOKIE:京东cookie
    • PUSH_KEY:Server酱SCKEY
  • 点击Star,任务会自动执行,运行进度和结果可以在Actions页面查看;
  • 当任务运行完成时,会将运行结果和错误信息打包到Artifacts,可自行下载查看;

获取京东cookie

  • 使用项目中的Chrome插件:JDCookie
  • Chrome中拓展程序开启开发者模式
  • 点击加载已解压的拓展程序,选择JDCookie目录;
  • 登录领京豆
  • 点击JDCookie即可拷贝京东cookie

获取Server酱SCKEY

  • github 授权登录Server酱官网
  • 发送消息拷贝SCKEY

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK