Skip to content

Commit

Permalink
adding url to source for all web scrapers (FlowiseAI#2537)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmcqueen authored Jun 4, 2024
1 parent a799ac8 commit 7eb9341
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/server/src/Interface.DocumentStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ export class DocumentStoreDTO {
case 'cheerioWebScraper':
loader.source = loader.loaderConfig.url
break
case 'playwrightWebScraper':
loader.source = loader.loaderConfig.url
break
case 'puppeteerWebScraper':
loader.source = loader.loaderConfig.url
break
case 'jsonFile':
loader.source = loader.loaderConfig.jsonFile.replace('FILE-STORAGE::', '')
break
Expand Down

0 comments on commit 7eb9341

Please sign in to comment.