Shasha2020 commited on
Commit
8f25fe1
·
1 Parent(s): dc80020

fix pageshot failure

Browse files
backend/functions/src/dto/scrapping-options.ts CHANGED
@@ -396,7 +396,7 @@ export class CrawlerOptions extends AutoCastable {
396
  if (engine) {
397
  instance.engine = engine;
398
  }
399
- if (instance.noCache) {
400
  instance.engine ??= ENGINE_TYPE.BROWSER;
401
  }
402
 
 
396
  if (engine) {
397
  instance.engine = engine;
398
  }
399
+ if (instance.noCache || !instance.isGeneralMarkdownRequest()) {
400
  instance.engine ??= ENGINE_TYPE.BROWSER;
401
  }
402