笔下文学 bxwx.co(公众号:好用的软件站)

https://www.bxwx.co/

lindongjiang (1001)5小时前

暂无介绍说明

{
  "bookSourceGroup": "笔下文学",
  "bookSourceName": "笔下文学 bxwx.co(公众号:好用的软件站)",
  "bookSourceUrl": "https://www.bxwx.co/",
  "enable": true,
  "weight": 100,
  "httpUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
  "searchBook": {
    "actionID": "searchBook",
    "parserID": "DOM",
    "responseFormatType": "html",
    "requestInfo": "@js:{\n  const params = java.getParams();\n  const keyword = params.keyWord;\n  const encodedKeyword = encodeURIComponent(keyword);\n  const url = 'https://www.bxwx.co/search.html?searchtype=novelname&searchkey=' + encodedKeyword;\n  return {\n    url: url,\n    method: 'POST',\n    data: {\n      'searchtype': 'novelname',\n      '369koolearn': keyword\n    },\n    headers: {\n      'Content-Type': 'application/x-www-form-urlencoded',\n      'Accept': 'text/html',\n      'Referer': 'https://www.bxwx.co/'\n    }\n  };\n}",
    "list": "#sitembox dl",
    "bookName": "//dt/a/@title",
    "author": "//dd[@class='book_other']/text()",
    "bookUrl": "//dt/a/@href",
    "coverUrl": "//dt/a/img/@src",
    "intro": "//dd[@class='book_des']/text()",
    "category": "//dd[@class='book_other']/text()",
    "wordCount": "//dd[@class='book_other']/text()",
    "lastChapterName": "//dd[@class='book_other']/a/text()"
  },
  "bookDetail": {
    "actionID": "bookDetail",
    "parserID": "DOM",
    "responseFormatType": "html",
    "requestInfo": "@js:{\n  const params = java.getParams();\n  let url = params.result || params.bookUrl;\n  if (!url.startsWith('http')) {\n    url = 'https://www.bxwx.co' + url;\n  }\n  if (!url.endsWith('index.html')) {\n    url = url.replace(/\\/(\\d+)\\/?$/, '/$1/index.html');\n  }\n  return { url: url };\n}",
    "bookName": "meta[property='og:novel:book_name']/@content",
    "author": "meta[property='og:novel:author']/@content",
    "coverUrl": "meta[property='og:image']/@content",
    "intro": "meta[property='og:description']/@content",
    "category": "meta[property='og:novel:category']/@content",
    "status": "meta[property='og:novel:status']/@content",
    "wordCount": "",
    "lastChapterName": "meta[property='og:novel:latest_chapter_name']/@content",
    "lastChapterUrl": "meta[property='og:novel:latest_chapter_url']/@content",
    "directoryUrl": "@js:{\n  const params = java.getParams();\n  let url = params.result || params.bookUrl;\n  if (!url.startsWith('http')) {\n    url = 'https://www.bxwx.co' + url;\n  }\n  const match = url.match(/\\/b\\/(\\d+)\\/(\\d+)\\//);\n  if (match) {\n    return 'https://www.bxwx.co/dir/' + match[1] + '/' + match[2] + '.htm';\n  }\n  return url.replace('/index.html', '') + '/index.html';\n}"
  },
  "chapterList": {
    "actionID": "chapterList",
    "parserID": "DOM",
    "responseFormatType": "html",
    "requestInfo": "@js:{\n  const params = java.getParams();\n  let url = params.result || params.directoryUrl;\n  if (!url.startsWith('http')) {\n    url = 'https://www.bxwx.co' + url;\n  }\n  return { url: url };\n}",
    "list": "#list dd a",
    "title": "//text()",
    "url": "//@href",
    "detailUrl": "//@href"
  },
  "chapterContent": {
    "actionID": "chapterContent",
    "parserID": "DOM",
    "responseFormatType": "html",
    "requestInfo": "@js:{\n  const params = java.getParams();\n  let url = params.result || params.chapterUrl || params.url;\n  if (!url.startsWith('http')) {\n    url = 'https://www.bxwx.co' + url;\n  }\n  return { url: url };\n}",
    "title": "h1/text()",
    "content": "div[id='content']/html()",
    "nextPageUrl": "",
    "wordCount": ""
  },
  "sourceName": "笔下文学 bxwx.co(公众号:好用的软件站)",
  "sourceUrl": "https://www.bxwx.co/",
  "sourceType": "text",
  "lastModifyTime": "1772851907"
}