Add waitFor of 5000ms for changeTracking format
Co-Authored-By: hello@sideguide.dev <hello@sideguide.dev>
This commit is contained in:
@@ -390,6 +390,9 @@ export async function scrapeURL(
|
||||
options: ScrapeOptions,
|
||||
internalOptions: InternalOptions,
|
||||
): Promise<ScrapeUrlResponse> {
|
||||
if (options.formats.includes("changeTracking") && options.waitFor < 5000) {
|
||||
options.waitFor = 5000;
|
||||
}
|
||||
const meta = await buildMetaObject(id, url, options, internalOptions);
|
||||
try {
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user