pi-smart-fetch 0.2.31 → 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 CHANGED
@@ -10244,7 +10244,7 @@ function createDefuddleFetch(dependencies = runtimeDependencies) {
10244
10244
  fallbackDocument,
10245
10245
  opts.url
10246
10246
  );
10247
- if (hasOembed404 || hasJsDisabledShell) {
10247
+ if ((hasOembed404 || hasJsDisabledShell) && !extracted.content) {
10248
10248
  return {
10249
10249
  error: `Server returned HTTP 404 Not Found for ${opts.url}.`,
10250
10250
  code: "http_error",