ns-rss-spider 1.1.1 → 1.1.3
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.
|
@@ -66,7 +66,9 @@ async function parseContent($, $element, item, strategy) {
|
|
|
66
66
|
console.log(import_zx.chalk.green("正在解析图片", item2.src));
|
|
67
67
|
const result = await (0, import_probe_image_size.default)(item2.src, {
|
|
68
68
|
rejectUnauthorized: false,
|
|
69
|
-
open_timeout: 1e3 * 5
|
|
69
|
+
open_timeout: 1e3 * 5,
|
|
70
|
+
read_timeout: 1e3 * 5,
|
|
71
|
+
response_timeout: 1e3 * 5
|
|
70
72
|
}).catch((e) => {
|
|
71
73
|
console.error("解析图片失败", e.message);
|
|
72
74
|
return Error((e == null ? void 0 : e.message) || e || "unknown error");
|