GithubHelp home page GithubHelp logo

haigamingp / shopee-coins-collector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from addie-tyc/shopee-coins-collector

0.0 0.0 0.0 190 KB

每日蝦皮自動簽到

License: MIT License

TypeScript 100.00%

shopee-coins-collector's Introduction

shopee-coins-collector 蝦皮自動簽到機器人

A crawler inspired by wdzeng/shopee-coins-bot uses puppeteer and github actions instead of selenium and docker. Therefore, it can lower the users' entry barrier and speed up.

Usage

  1. Fork this repo under your account click fork button createa fork
  2. Add SHOPEE_USR, SHOPEE_PWD and AES_KEY (which is used to encrypt your cookie) in actions secrets new a repo secret
    add secret
  3. Run actions mannualy for the first time run actions
  4. In most situations, you will receive an SMS authentication in the initial run. After that, github actions will cache your encryted cookie and use it to login derictly in the future.

Update (2023/03/09)

The workflow will update the cache every time it runs. This is achieved by using a unique key for each run (by adding the github.run_id suffix to the key) and using restore-keys to restore the nearest cache. If there is already a cache named cache-{hash} (without run_id suffix), it would always be used because of the exact match.
To enable this feature, you need to first delete the cache cache-{hash} so that the workflow will use the nearest cache in the next run. reference

Reference

Contact

Addie Tsai-Yun, Chung @ [email protected]

shopee-coins-collector's People

Contributors

addie-tyc avatar addiechung 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.