ns-rss-spider 1.0.12 → 1.0.13
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($element.html());
|
|
107
109
|
return {
|
|
108
110
|
type: "simple",
|
|
109
111
|
content: "",
|