Skip to content

Commit fcc545d

Browse files
committed
chore: docs should import snippets of text with raw-loader
https://docusaurus.io/docs/markdown-features/react#importing-code-snippets
1 parent 94f9489 commit fcc545d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sources/academy/tutorials/node_js/multiple-runs-scrape.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ slug: /node-js/multiple-runs-scrape
1414
import Tabs from '@theme/Tabs';
1515
import TabItem from '@theme/TabItem';
1616
import CodeBlock from '@theme/CodeBlock';
17-
import OrchestratorActorMainTs from '../../../../examples/ts-parallel-scraping/orchestrator/src/main.ts';
18-
import OrchestratorActorInputSchemaJson from '../../../../examples/ts-parallel-scraping/orchestrator/.actor/input_schema.json';
19-
import ScraperActorMainTs from '../../../../examples/ts-parallel-scraping/scraper/src/main.ts';
20-
import ScraperActorInputSchemaJson from '../../../../examples/ts-parallel-scraping/scraper/.actor/input_schema.json';
17+
import OrchestratorActorMainTs from '!!raw-loader!../../../../examples/ts-parallel-scraping/orchestrator/src/main.ts';
18+
import OrchestratorActorInputSchemaJson from '!!raw-loader!../../../../examples/ts-parallel-scraping/orchestrator/.actor/input_schema.json';
19+
import ScraperActorMainTs from '!!raw-loader!../../../../examples/ts-parallel-scraping/scraper/src/main.ts';
20+
import ScraperActorInputSchemaJson from '!!raw-loader!../../../../examples/ts-parallel-scraping/scraper/.actor/input_schema.json';
2121

2222
Imagine a large website that you need to scrape. You have a scraper that works well, but scraping the whole website is slow.
2323
You can speed up the scraping process by running multiple instances of the scraper in parallel.

0 commit comments

Comments
 (0)