qd-today / templates

基于开源新版 QD 框架站发布的公共har模板库,仅供示例
1.03k stars 291 forks source link

万能福利吧 评论区 #54

Open AragonSnow opened 3 years ago

AragonSnow commented 3 years ago

HAR 模板名称

万能福利吧

作者信息

github-h

模板备注及说明

cookie

每日签到奖励

https://www.wnflb2023.com

HAR 文件名

万能福利吧.har

HAR 模板内容

[
{
    "comment": "",
    "request":
    {
        "method": "GET",
        "url": "https://www.wnflb2023.com/plugin.php?id=fx_checkin%3Alist",
        "headers": [
        {
            "name": "Host",
            "value": "www.wnflb2023.com"
        },
        {
            "name": "User-Agent",
            "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
        },
        {
            "name": "Accept",
            "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
        },
        {
            "name": "Accept-Language",
            "value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
        },
        {
            "name": "Accept-Encoding",
            "value": "gzip, deflate, br"
        },
        {
            "name": "DNT",
            "value": "1"
        },
        {
            "name": "Connection",
            "value": "keep-alive"
        },
        {
            "name": "Referer",
            "value": "https://www.wnflb2023.com/"
        },
        {
            "name": "Cookie",
            "value": "{{cookie}}"
        },
        {
            "name": "Upgrade-Insecure-Requests",
            "value": "1"
        }],
        "cookies": [],
        "data": "",
        "mimeType": ""
    },
    "rule":
    {
        "success_asserts": [
        {
            "re": "200",
            "from": "status"
        }],
        "failed_asserts": [],
        "extract_variables": [
        {
            "re": "formhash=(.+?)&",
            "from": "content",
            "name": "formhash"
        }]
    }
},
{
    "request":
    {
        "method": "GET",
        "url": "https://www.wnflb2023.com/plugin.php?id=fx_checkin%3Acheckin&formhash={{formhash|urlencode}}&{{formhash|urlencode}}=&infloat=yes&handlekey=fx_checkin&inajax=1&ajaxtarget=fwin_content_fx_checkin",
        "headers": [
        {
            "name": "Host",
            "value": "www.wnflb2023.com"
        },
        {
            "name": "User-Agent",
            "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
        },
        {
            "name": "Accept",
            "value": "*/*"
        },
        {
            "name": "Accept-Language",
            "value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
        },
        {
            "name": "Accept-Encoding",
            "value": "gzip, deflate, br"
        },
        {
            "name": "X-Requested-With",
            "value": "XMLHttpRequest"
        },
        {
            "name": "DNT",
            "value": "1"
        },
        {
            "name": "Connection",
            "value": "keep-alive"
        },
        {
            "name": "Referer",
            "value": "https://www.wnflb2023.com/"
        }],
        "cookies": [],
        "data": "",
        "mimeType": ""
    },
    "rule":
    {
        "success_asserts": [
        {
            "re": "200",
            "from": "status"
        }],
        "failed_asserts": [],
        "extract_variables": []
    }
},
{
    "comment": "判断签到成功+获取积分",
    "request":
    {
        "method": "GET",
        "url": "https://www.wnflb2023.com/plugin.php?id=fx_checkin%3Alist",
        "headers": [
        {
            "name": "Host",
            "value": "www.wnflb2023.com"
        },
        {
            "name": "User-Agent",
            "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
        },
        {
            "name": "Accept",
            "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
        },
        {
            "name": "Accept-Language",
            "value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
        },
        {
            "name": "Accept-Encoding",
            "value": "gzip, deflate, br"
        },
        {
            "name": "DNT",
            "value": "1"
        },
        {
            "name": "Connection",
            "value": "keep-alive"
        },
        {
            "name": "Referer",
            "value": "https://www.wnflb2023.com/"
        },
        {
            "name": "Cookie",
            "value": "{{cookie}}"
        },
        {
            "name": "Upgrade-Insecure-Requests",
            "value": "1"
        }],
        "cookies": [],
        "data": "",
        "mimeType": ""
    },
    "rule":
    {
        "success_asserts": [
        {
            "re": "200",
            "from": "status"
        }],
        "failed_asserts": [
        {
            "re": "您尚未登录,无法进行此操作",
            "from": "content"
        },
        {
            "re": "今天签到了吗?",
            "from": "content"
        }],
        "extract_variables": [
        {
            "re": "累计签到:<i>(.+?)</i>天",
            "from": "content",
            "name": "log_all"
        },
        {
            "re": "已连续签到:<i>(.+?)</i>天",
            "from": "content",
            "name": "log_days"
        }]
    }
},
{
    "comment": "生成日志",
    "request":
    {
        "method": "POST",
        "url": "api://util/urldecode",
        "headers": [],
        "cookies": [],
        "data": "content=已连续签到: {{log_days}} 天,累计签到: {{log_all}} 天"
    },
    "rule":
    {
        "success_asserts": [
        {
            "re": "200",
            "from": "status"
        },
        {
            "re": "\"状态\": \"200\"",
            "from": "content"
        }],
        "failed_asserts": [],
        "extract_variables": [
        {
            "name": "__log__",
            "re": "\"转换后\": \"(.*)\"",
            "from": "content"
        }]
    }
}]
TendernessRadif commented 2 years ago

大佬 福利吧更换域名了 wnflb99了

Mark2T commented 2 years ago

求大佬更新这个,换了新域名

github-h commented 2 years ago

我自己改了 忘记上传了抱歉抱歉

已经更新了

sayviness commented 2 years ago

2021-12-17 13:35:53 日志:Failed at 2/4 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 302: Found, Request URL: https://www.wnflb99.com/plugin.php?id=fx_checkin%3Acheckin&formhash={{formhash|urlencode}}&{{formhash|urlencode}}=&infloat=yes&handlekey=fx_checkin&inajax=1&ajaxtarget=fwin_content_fx_checkin

失败了

github-h commented 2 years ago

2021-12-17 13:35:53 日志:Failed at 2/4 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 302: Found, Request URL: https://www.wnflb99.com/plugin.php?id=fx_checkin%3Acheckin&formhash={{formhash|urlencode}}&{{formhash|urlencode}}=&infloat=yes&handlekey=fx_checkin&inajax=1&ajaxtarget=fwin_content_fx_checkin

失败了

图片

自查吧 我本地是没问题的 至于多写了一个formhash并不影响 可以删了

重新抓了一下包 没有多写 这个论坛就是这样 好久没看了我以为自己写错了...... 图片

TendernessRadif commented 1 year ago

大佬 福利吧域名换成www.wnflb2023.com了 然后我自己把之前的域名替换www.wnflb2023.com发现不能签到 只能麻烦您了.注意防护老哥

github-h commented 1 year ago

大佬 福利吧域名换成www.wnflb2023.com了 然后我自己把之前的域名替换www.wnflb2023.com发现不能签到 只能麻烦您了.注意防护老哥

好吧我改一下哈哈哈 还有人在用啊 你稍微等等袄

github-h commented 1 year ago

大佬 福利吧域名换成www.wnflb2023.com了 然后我自己把之前的域名替换www.wnflb2023.com发现不能签到 只能麻烦您了.注意防护老哥

https://github.com/qiandao-today/templates/commit/561c2569e3da7f974ce6a2fe4842cb82435a1db6 试试吧 我本地测试是可以的 图片

Linon419 commented 7 months ago

老哥,不能用了

github-h commented 7 months ago

老哥,不能用了

图片