Git Product home page Git Product logo

majsoul-login's Introduction

使用GitHub Action+Selenium实现雀魂每日5:00自动登录,完成“良好市民”成就

image

浏览器F12抓包太麻烦,所以干脆用了Selenium

GitHub Action的Ubuntu内置了Chrome浏览器,无需手动安装,由于没有桌面环境,需要使用headless模式启动Chrome

其他参考:


使用方法

  1. Fork本仓库
  2. 点击Settings->Secrets->Actions->New repository secret,依次配置EMAILPASSWD
    • EMAIL 是雀魂的邮箱账号,如有多个账户用空格分隔,例如[email protected] [email protected]
    • PASSWD 是雀魂的密码,如有多个账户用空格分隔,与邮箱依次对应,例如grc28r7g3 pdtaw3fwag
  3. 先在Actions页面将GitHub Action启用,再选择对应的workflow,将scheduled workflow启用 enable-schedule-workflow
  4. Enjoy it!

majsoul-login's People

Contributors

liqwang avatar whistick 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.