/98tang_daysign

98堂 每日签到

Primary LanguagePythonMIT LicenseMIT

98tang Daysign Script

How to use

  1. Export cookies from Browser
  2. Clone this repository
  3. Add secrets in repo settings

How to retrieve cookies

  1. Go to https://www.sehuatang.net/plugin.php?id=dd_sign&view=daysign
  2. Press F12 to open the developer console
  3. Locate the Network tab
  4. Right click the relevant request, and select Copy as cURL
  5. Retrieve cookies from -H "cookie: xxx=xxx"

GitHub Actions Secrets

  1. COOKIES: raw cookies string (e.g. xxx=12345; yyy=54321)
  2. COOKIES_URL(alternative): url to cookies string (e.g. hosted on GitHub Gist)
  3. CHAT_ID(optional): @BotFather bot chat ID
  4. BOT_TOKEN(optional): @BotFather bot token

Telegram notification

create a telegram bot