LuizFelipeNeves / shopee-coins-collector

每日蝦皮自動簽到

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 @ addiechung.tyc@gmail.com

About

每日蝦皮自動簽到

License:MIT License


Languages

Language:TypeScript 100.0%