修复布谷Tv日志,新模板HDHome (#227)

* 修复布谷Tv日志

* 新模板HDHome
This commit is contained in:
AlisaCat 2022-07-02 23:18:24 +08:00 committed by GitHub
parent 75bc8abd90
commit 820fa7d64f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 4 deletions

View File

@ -198,7 +198,7 @@ Tips:
| 布谷Tv | [FellBan](https://github.com/FellBan) | [布谷Tv.har](https://github.com/qiandao-today/templates/blob/master/布谷Tv.har) | 2022-06-05 17:25:00 | username:账号<br>password:密码<br><https://www.bugutv.net/> |
| 元宇宙创意 | [FellBan](https://github.com/FellBan) | [元宇宙创意.har](https://github.com/qiandao-today/templates/blob/master/元宇宙创意.har) | 2022-06-06 09:31:00 | username:账号<br>password:密码<br><https://mult.utour.top/> |
| NicePT | [FrostKMR](https://github.com/FrostKMR) | [nicept.har](https://github.com/qiandao-today/templates/blob/master/nicept.har) | 2022-06-11 17:45:00 | 首页Cookie<br><https://nicept.net/> |
| HDHome | [AlisaCat-S](https://github.com/AlisaCat-S) | [hdhome.har](https://raw.githubusercontent.com/qiandao-today/templates/master/hdhome.har) | 2022-06-26 10:26:00 | HDHome家园<br>首页Cookie<br>自定义UA:可选,空为默认UA<br>国内访问经常超时<br>https://hdhome.org/> |
## 📄如何注册第三方库

1
hdhome.har Normal file
View File

@ -0,0 +1 @@
[{"comment":"Copy_设置变量:可选自定义UA","request":{"method":"GET","url":"api://util/string/replace?r=json&p=replace&s=replace&t={{UA|default('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36')|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"OK\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"UA","re":"\"处理后字符串\": \"(.*)\"","from":"content"}]}},{"comment":"签到","request":{"method":"GET","url":"https://hdhome.org/attendance.php","headers":[{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7"},{"name":"cache-control","value":"max-age=0"},{"name":"cookie","value":"{{cookie}}"},{"name":"referer","value":"https://hdhome.org/index.php"},{"name":"user-agent","value":"{{UA}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"qd","re":"签到获得.*?(\\d+)","from":"content"},{"name":"lxqd","re":"已连续签到.*?(\\d+)","from":"content"},{"name":"_name","re":"<b>(.+?)</b></a>","from":"content"},{"name":"ml","re":"使用</a>]: (.+?)&nbsp","from":"content"},{"name":"sc","re":"上传量:</font>(.+?)<font","from":"content"},{"name":"xz","re":"下载量:</font>(.+?)<a","from":"content"},{"name":"fx","re":"分享率:</font>(.+?)<font","from":"content"}]}},{"request":{"method":"GET","url":"api://util/unicode?content=HDHome%EF%BC%9A%E3%80%90%E7%94%A8%E6%88%B7%E5%90%8D%3A{{_name|urlencode}}%E3%80%91%E3%80%90%E9%AD%94%E5%8A%9B%E5%80%BC%3A{{ml|urlencode}}%E3%80%91%E3%80%90%E7%AD%BE%E5%88%B0%E8%8E%B7%E5%BE%97%3A{{qd|urlencode}}%E3%80%91%E3%80%90%E5%88%86%E4%BA%AB%E7%8E%87%3A{{fx|urlencode}}%E3%80%91%E3%80%90%E4%B8%8A%E4%BC%A0%E9%87%8F%3A{{sc|urlencode}}%E3%80%91%E3%80%90%E4%B8%8B%E8%BD%BD%E9%87%8F%3A{{xz|urlencode}}%E3%80%91","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.+)\"","from":"content"}]}}]

View File

@ -1995,7 +1995,7 @@
"date": "2022-06-06 09:31:00",
"version":"20220606",
"commenturl":"https://github.com/qiandao-today/templates/issues/216"
},
},
"Nicept": {
"name": "Nicept",
"author": "Frostaxe",
@ -2007,6 +2007,18 @@
"date": "2022-06-11 17:45:00",
"version":"20220611",
"commenturl":"https://github.com/qiandao-today/templates/issues/221"
}
},
"hdhome": {
"name": "hdhome",
"author": "AlisaCat-S",
"url": "https://raw.githubusercontent.com/qiandao-today/templates/master/hdhome.har",
"update": false,
"comments": "hdhome,家园<br>首页Cookie<br>自定义UA:可选,空为默认UA<br>国内访问经常超时<br>https://hdhome.org/",
"filename": "hdhome.har",
"content": "",
"date": "2022-07-02 10:30:00",
"version": "20220702",
"commenturl": ""
}
}
}

File diff suppressed because one or more lines are too long