openclaw-smart-fetch 0.2.32 → 0.2.33
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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -10242,7 +10242,7 @@ function createDefuddleFetch(dependencies = runtimeDependencies) {
|
|
|
10242
10242
|
fallbackDocument,
|
|
10243
10243
|
opts.url
|
|
10244
10244
|
);
|
|
10245
|
-
if (hasOembed404 || hasJsDisabledShell) {
|
|
10245
|
+
if ((hasOembed404 || hasJsDisabledShell) && !extracted.content) {
|
|
10246
10246
|
return {
|
|
10247
10247
|
error: `Server returned HTTP 404 Not Found for ${opts.url}.`,
|
|
10248
10248
|
code: "http_error",
|