xjasonlyu / 98tang_daysign

98tang Daysign Script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

98tang Daysign Script

Notice: Actions is unable to sign 98tang since its IP was filtered by Cloudflare. Try to run locally.

How to use in Qinglong (Recommended)

  1. Export cookies from Browser (Copy as Node.js fetch)
  2. Add FETCH_98TANG env variable in Qinglong
  3. Add ql repo https://github.com/xjasonlyu/98tang_daysign as scheduled task and run it manually
  4. The daysign task would be added automatically

How to use in Actions

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

How to retrieve cURL/fetch command

  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 or Copy as Node.js fetch

Environment variables

  1. CURL_98TANG: cURL command string (e.g. curl -H 'xxx:xxx')
  2. FETCH_98TANG: Node.js fetch string (e.g. fetch("xxx", ...))
  3. TG_USER_ID(optional): @BotFather bot chat ID
  4. TG_BOT_TOKEN(optional): @BotFather bot token

Telegram notification

create a telegram bot

About

98tang Daysign Script

License:MIT License


Languages

Language:Python 100.0%