ns-rss-spider 1.0.12 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,6 +104,8 @@ async function parseContent($, $element, item, strategy) {
104
104
  const elCont = ((_a = strategy == null ? void 0 : strategy.getContentFromHtml) == null ? void 0 : _a.call(strategy, $, $element)) || $element.html() || "";
105
105
  const content = (0, import_html_entities.decode)(elCont.trim());
106
106
  if (!content) {
107
+ console.error(import_zx.chalk.red("解析 html 内容出错, html 如下"));
108
+ console.log($.html());
107
109
  return {
108
110
  type: "simple",
109
111
  content: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ns-rss-spider",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",