mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 20:39:00 +08:00
Nick: fixes
This commit is contained in:
parent
819ad50af3
commit
90b32f16c8
@ -87,6 +87,7 @@ export async function runWebScraper({
|
|||||||
crawlerOptions: crawlerOptions,
|
crawlerOptions: crawlerOptions,
|
||||||
pageOptions: pageOptions,
|
pageOptions: pageOptions,
|
||||||
priority,
|
priority,
|
||||||
|
teamId: team_id
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
const docs = (await provider.getDocuments(false, (progress: Progress) => {
|
const docs = (await provider.getDocuments(false, (progress: Progress) => {
|
||||||
|
@ -76,6 +76,7 @@ export class WebScraperDataProvider {
|
|||||||
this.extractorOptions,
|
this.extractorOptions,
|
||||||
existingHTML,
|
existingHTML,
|
||||||
this.priority,
|
this.priority,
|
||||||
|
this.teamId,
|
||||||
);
|
);
|
||||||
processedUrls++;
|
processedUrls++;
|
||||||
if (inProgress) {
|
if (inProgress) {
|
||||||
|
@ -80,6 +80,7 @@ export async function scrapWithFireEngine({
|
|||||||
// atsv is only available for beta customers
|
// atsv is only available for beta customers
|
||||||
const betaCustomersString = process.env.BETA_CUSTOMERS;
|
const betaCustomersString = process.env.BETA_CUSTOMERS;
|
||||||
const betaCustomers = betaCustomersString ? betaCustomersString.split(",") : [];
|
const betaCustomers = betaCustomersString ? betaCustomersString.split(",") : [];
|
||||||
|
|
||||||
if (pageOptions?.atsv && betaCustomers.includes(teamId)) {
|
if (pageOptions?.atsv && betaCustomers.includes(teamId)) {
|
||||||
fireEngineOptionsParam.atsv = true;
|
fireEngineOptionsParam.atsv = true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user