mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader.git
synced 2025-08-20 14:19:17 +08:00
fix pageshot failure
This commit is contained in:
parent
dc80020ade
commit
8f25fe1d45
@ -396,7 +396,7 @@ export class CrawlerOptions extends AutoCastable {
|
|||||||
if (engine) {
|
if (engine) {
|
||||||
instance.engine = engine;
|
instance.engine = engine;
|
||||||
}
|
}
|
||||||
if (instance.noCache) {
|
if (instance.noCache || !instance.isGeneralMarkdownRequest()) {
|
||||||
instance.engine ??= ENGINE_TYPE.BROWSER;
|
instance.engine ??= ENGINE_TYPE.BROWSER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user