GLaDOS为机场,地址为https://glados.one。每次edu认证可获得一年会员。
签到也可获得会员天数,下面是自动签到方法。
就两个简单的节点
工作流(复制粘贴)
{
"name": "glados自动签到",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 6,
"triggerAtMinute": 30
}
]
}
},
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
0,
0
],
"id": "9963598a-77d5-428f-b639-00da61c9cf5e",
"name": "Schedule Trigger"
},
{
"parameters": {
"method": "POST",
"url": "https://glados.rocks/api/user/checkin",
"sendHeaders": true,
"specifyHeaders": "json",
"jsonHeaders": "{\n \"Accept\": \"application/json, text/plain, */*\",\n \"Content-Type\": \"application/json;charset=UTF-8\",\n \"Authorization\": \"9876543210987654321098765432109-1234-567\",\n \"Cookie\": \"xxxxxx\",\n \"User-Agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36\"\n}",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "{\n \"token\": \"glados.one\"\n}",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
220,
0
],
"id": "3d9ff7ab-ecb1-42b7-8af6-afd2217a72f7",
"name": "HTTP Request",
"retryOnFail": true
}
],
"pinData": {},
"connections": {
"Schedule Trigger": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "cfabc0ca-a2eb-4ffb-b79f-0e232714bac5",
"meta": {
"instanceId": "273cb072730a54351e245b85466131b67e03b4084264c10b9a2f40e05554ac84"
},
"id": "cp9mf1oQEOrdjrs7",
"tags": []
}
仅需配置cookie即可
cookie获取办法:
- 打开 GLaDOS 的 签到页面
- 打开浏览器「开发者工具」(快捷键 F12), 切换到「网络」标签页
- 找到名字为
checkin
这一行, 点击打开详情, 在「标头」找到 Cookie的值,复制即可
4.替换如下的cookie。