Skip to content

迅维网 评论区 #1126

@mjlissa2006

Description

@mjlissa2006

HAR 模板名称

迅维网.har

作者信息

mjlissa

模板备注及说明

https://www.chinafix.com 迅维网 cookie 签到har

HAR 文件名

迅维网.har

其他信息

HAR 模板内容

[
  {
    "comment": "获取签到页面",
    "request": {
      "method": "GET",
      "url": "https://www.chinafix.com/plugin.php?id=k_misign:sign",
      "headers": [
        {
          "name": "User-Agent",
          "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
        },
        {
          "name": "Cookie",
          "value": "{{cookie}}"
        },
        {
          "name": "Referer",
          "value": "https://www.chinafix.com/"
        },
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
        },
        {
          "name": "Accept-Language",
          "value": "zh-CN,zh;q=0.9,en;q=0.8"
        },
        {
          "name": "Connection",
          "value": "keep-alive"
        }
      ],
      "cookies": [],
      "data": "",
      "mimeType": ""
    },
    "rule": {
      "success_asserts": [
        {
          "re": "200",
          "from": "status"
        }
      ],
      "failed_asserts": [],
      "extract_variables": [
        {
          "re": "formhash=([a-f0-9]{6,10})",
          "from": "content",
          "name": "formhash"
        },
        {
          "re": "id=\"lxdays\"[^>]*value=\"(\\d+)\"",
          "from": "content",
          "name": "lxdays"
        },
        {
          "re": "g_upmine[^>]*>([^<]+)</a>",
          "from": "content",
          "name": "lxlevel"
        },
        {
          "re": "id=\"lxreward\"[^>]*value=\"(\\d+)\"",
          "from": "content",
          "name": "lxreward"
        },
        {
          "re": "id=\"lxtdays\"[^>]*value=\"(\\d+)\"",
          "from": "content",
          "name": "lxtdays"
        },
        {
          "re": "签到排名[::]\\s*(\\d+)",
          "from": "content",
          "name": "rank"
        }
      ]
    }
  },
  {
    "comment": "执行签到",
    "request": {
      "method": "GET",
      "url": "https://www.chinafix.com/plugin.php?id=k_misign:sign&operation=qiandao&formhash={{formhash}}",
      "headers": [
        {
          "name": "User-Agent",
          "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
        },
        {
          "name": "Cookie",
          "value": "{{cookie}}"
        },
        {
          "name": "Referer",
          "value": "https://www.chinafix.com/plugin.php?id=k_misign:sign"
        },
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "X-Requested-With",
          "value": "XMLHttpRequest"
        },
        {
          "name": "Connection",
          "value": "keep-alive"
        }
      ],
      "cookies": [],
      "data": "",
      "mimeType": ""
    },
    "rule": {
      "success_asserts": [
        {
          "re": "200",
          "from": "status"
        },
        {
          "re": "签到成功|今日已签|已签到|succeed",
          "from": "content"
        }
      ],
      "failed_asserts": [
        {
          "re": "签到失败",
          "from": "content"
        },
        {
          "re": "formhash.*无效",
          "from": "content"
        },
        {
          "re": "您没有权限",
          "from": "content"
        },
        {
          "re": "Access Denied",
          "from": "content"
        },
        {
          "re": "请先登录",
          "from": "content"
        },
        {
          "re": "您还未登录",
          "from": "content"
        }
      ],
      "extract_variables": [
        {
          "re": "CDATA\\[([^\\]]+)\\]",
          "from": "content",
          "name": "sign_result"
        },
        {
          "re": "CDATA\\[([^\\]]+)\\]",
          "from": "content",
          "name": "__log__"
        }
      ]
    }
  },
  {
    "comment": "获取签到结果",
    "request": {
      "method": "GET",
      "url": "https://www.chinafix.com/plugin.php?id=k_misign:sign",
      "headers": [
        {
          "name": "User-Agent",
          "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
        },
        {
          "name": "Cookie",
          "value": "{{cookie}}"
        },
        {
          "name": "Referer",
          "value": "https://www.chinafix.com/plugin.php?id=k_misign:sign"
        },
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
        },
        {
          "name": "Connection",
          "value": "keep-alive"
        }
      ],
      "cookies": [],
      "data": "",
      "mimeType": ""
    },
    "rule": {
      "success_asserts": [
        {
          "re": "200",
          "from": "status"
        }
      ],
      "failed_asserts": [],
      "extract_variables": [
        {
          "re": "id=\"lxdays\"[^>]*value=\"(\\d+)\"",
          "from": "content",
          "name": "lxdays"
        },
        {
          "re": "g_upmine[^>]*>([^<]+)</a>",
          "from": "content",
          "name": "lxlevel"
        },
        {
          "re": "id=\"lxreward\"[^>]*value=\"(\\d+)\"",
          "from": "content",
          "name": "lxreward"
        },
        {
          "re": "id=\"lxtdays\"[^>]*value=\"(\\d+)\"",
          "from": "content",
          "name": "lxtdays"
        },
        {
          "re": "签到排名[::]\\s*(\\d+)",
          "from": "content",
          "name": "rank"
        },
        {
          "re": "discuz_uid[^0-9]*(\\d+)",
          "from": "content",
          "name": "userid"
        },
        {
          "re": "home\\.php\\?mod=space[^>]*>([^<]{1,30})</a>",
          "from": "content",
          "name": "username"
        }
      ]
    }
  },
  {
    "comment": "生成签到日志",
    "request": {
      "method": "GET",
      "url": "api://util/urldecode?content={{sign_result|urlencode}}%EF%BC%9B%E7%AD%89%E7%BA%A7%3A{{lxlevel|trim|urlencode}}%EF%BC%9B%E8%BF%9E%E7%BB%AD%E7%AD%BE%E5%88%B0%3A{{lxdays|urlencode}}%E5%A4%A9%EF%BC%9B%E7%A7%AF%E5%88%86%E5%A5%96%E5%8A%B1%3A{{lxreward|urlencode}}%E5%88%86%EF%BC%9B%E6%80%BB%E5%A4%A9%E6%95%B0%3A{{lxtdays|urlencode}}%E5%A4%A9%EF%BC%9B%E7%AD%BE%E5%88%B0%E6%8E%92%E5%90%8D%3A{{rank|urlencode}}",
      "headers": [
        {
          "name": "User-Agent",
          "value": "Mozilla/5.0"
        },
        {
          "name": "Cookie",
          "value": "{{cookie}}"
        }
      ],
      "cookies": [],
      "data": "",
      "mimeType": ""
    },
    "rule": {
      "success_asserts": [
        {
          "re": "200",
          "from": "status"
        }
      ],
      "failed_asserts": [],
      "extract_variables": [
        {
          "re": "转换后\":\\s*\"([^\"]+)\"",
          "from": "content",
          "name": "__log__"
        }
      ]
    }
  }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions