Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/starhearthunt/ff14risingstone_sign_task
FF14 石之家签到脚本
https://github.com/starhearthunt/ff14risingstone_sign_task
Last synced: 19 days ago
JSON representation
FF14 石之家签到脚本
- Host: GitHub
- URL: https://github.com/starhearthunt/ff14risingstone_sign_task
- Owner: StarHeartHunt
- License: mit
- Created: 2023-12-18T03:19:36.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-06T19:50:19.000Z (about 1 month ago)
- Last Synced: 2025-01-17T08:07:27.312Z (26 days ago)
- Language: Python
- Homepage:
- Size: 80.1 KB
- Stars: 30
- Watchers: 2
- Forks: 37
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FF14 石之家签到脚本
## 使用方法
- Fork 本仓库或者通过手动在仓库中新建 `.github/workflows/daily.yml` 文件,内容如下:
```yaml
name: Daily Taskson:
schedule:
# Runs at 10:30 am UTC+8 every day
- cron: "30 2 * * *"
workflow_dispatch:jobs:
run-tasks:
name: Run FF14 Risingstone Tasks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4- uses: docker://ghcr.io/starhearthunt/ff14risingstone_sign_task:master
with:
cookie: ${{ secrets.COOKIE }}
```在 Settings > Secrets and variables > Actions 中,添加 COOKIE 键,值为 cookie 头中以等号 `=` 分割的 `ff14risingstones` 键值对,其中值为 urlencode 后的结果。
例:
```bash
ff14risingstones=s%3A1111.2222222%2F33333
```## 配置项
### 必填配置项
- `cookie`:石之家 API cookie 中的 `ff14risingstones` 键值对
### 可选配置项
可选配置项可以从 action 文件的 with 段传入,和必填项一样。
- `base_url`:API 的入口域名。默认值:`https://apiff14risingstones.web.sdo.com`
- `user_agent`:请求 API 时使用的用户代理。默认值:`Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36`
- `comment_content`:完成评论任务时的评论内容。默认值:`[emo6]
`
- `like_post_id`:完成点赞任务时要点赞的根帖子 id。默认值:`8`
- `comment_post_id`:完成评论任务时要评论的根帖子 id。默认值:`8`
- `check_house_remain`:是否检查角色房屋拆除倒计时。默认值:`false`
- `get_sign_reward`:是否使用脚本领取当月签到奖励。默认值:`true`## 许可证
本仓库使用 MIT 许可证