SOURCE

{
  "templateType": "MODULE",
  "name": "建平融媒",
  "domains": [
    "jprmt.cn"
  ],
  "urlPattern": ".*jprmt.cn/.*\\d+.htm.*",
  "identifiers": [
    
  ],
  "foreign": 0,
  "origin": "PC",
  "sslProvider": "openssl",
  "seeds": {
    "bases": [
      "http://www.jprmt.cn/newsinfo/2580917.html",
      "https://www.jprmt.cn/newsinfo/6626441.html"
    ]
  },
  "enableCache": true,
  "httpMethod": "get",
  "headers": null,
  "params": null,
  "peekReqHeaders": null,
  "peekResHeaders": null,
  "followRedirects": true,
  "parseError": false,
  "tableRules": [
    {
      "parserName": "XPATH",
      "parsingType": "attrAll",
      "command": "//script",
      "attrName": "src",
      "type": 1
    },
    {
      "parserName": "ASSERT",
      "parsingType": "contains",
      "command": "Body.js",
      "type": 1
    }
  ],
  "fieldRules": {
    "self_url": [
      {
        "parserName": "APPENDER",
        "parsingType": "overwrite",
        "command": "$self.url",
        "type": 1
      }
    ],
    "articleUrl": [
      {
        "parserName": "APPENDER",
        "parsingType": "overwrite",
        "command": "$origin",
        "type": 1
      }
    ]
  },
  "hasMsgType": false,
  "returnResult": false,
  "proxyType": "NAT",
  "detectChineseCharset": false,
  "useCookieJar": false,
  "cleanAnchor": true,
  "cookieDetector": null,
  "next": {
    "isshow": true,
    "followRedirects": true,
    "urlField": "articleUrl",
    "customFilterUrl": "",
    "httpMethod": "GET",
    "proxyType": "NAT",
    "seeds": {
      "firstPath": null,
      "lastPath": null
    },
    "tableRules": [
      {
        "parserName": "REGEX",
        "parsingType": "replaceAll",
        "command": "document.write\\('|'\\)",
        "type": 1
      },
      {
        "parserName": "REGEX",
        "parsingType": "replaceAll",
        "command": "\\\\\"",
        "attrName": "\"",
        "type": 1
      },
      {
        "parserName": "REGEX",
        "parsingType": "replaceAll",
        "command": "\\\\u003e",
        "attrName": ">",
        "type": 1
      },
      {
        "parserName": "REGEX",
        "parsingType": "replaceAll",
        "command": "\\\\u003c",
        "attrName": "<",
        "type": 1
      }
    ],
    "fieldRules": {
      "url": [
        {
          "parserName": "APPENDER",
          "parsingType": "overwrite",
          "command": "$pre.self_url",
          "type": 1
        }
      ],
      "source": [
        {
          "parserName": "APPENDER",
          "parsingType": "overwrite",
          "command": "建平融媒",
          "type": 1
        }
      ],
      "title": [
        {
          "parserName": "XPATH",
          "parsingType": "textFirst",
          "command": "//h1[@class='w-title']",
          "type": 1
        }
      ],
      "time": [
        {
          "parserName": "XPATH",
          "parsingType": "textFirst",
          "command": "//span[@class='w-createtime-item w-createtime-date']",
          "type": 1
        },
        {
          "parserName": "REGEX",
          "parsingType": "matchFirst",
          "command": "(\\d+[^\\d]{1,2})+\\d+",
          "attrName": null,
          "type": 1
        },
        {
          "parserName": "TIME",
          "parsingType": "auto",
          "command": "yyyy MM dd HH mm ss S|yyyy MM dd HH mm ss SSS|yyyy MM dd HH mm|MM dd HH mm|MM dd HH mm ss|yyyy MM dd HH mm ss|yyyy MM dd",
          "type": 1
        }
      ],
      "content": [
        {
          "parserName": "XPATH",
          "parsingType": "textAll",
          "command": "//div[@class='w-detail']",
          "type": 1
        },
        {
          "parserName": "XPATH",
          "parsingType": "textAll",
          "command": "*",
          "attrName": null,
          "type": 1
        }
      ],
      "pic_urls": [
        {
          "parserName": "XPATH",
          "parsingType": "attrAll",
          "command": "//div[@class='w-detail']//img",
          "attrName": "src",
          "type": 1
        }
      ],
      "origin_url": [
        {
          "parserName": "APPENDER",
          "parsingType": "overwrite",
          "command": "$root.$subtemplate.url",
          "type": 1
        }
      ]
    },
    "returnResult": true,
    "params": null,
    "headers": {
      "Accept": "*/*",
      "Referer": "https://www.jprmt.cn/",
      "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
    },
    "hasMsgType": false,
    "msgType": {
      "c1": null,
      "c2": null,
      "c3": null,
      "c4": null
    }
  },
  "msgType": {
    "c1": "TEXT",
    "c2": "COMPLETE",
    "c3": "PGC",
    "c4": "网媒"
  },
  "discardFields": null,
  "subType": null,
  "execType": null,
  "id": "5716"
}


console 命令行工具 X clear

                    
>
console