Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

docs: add `asrc=run_on_apify` to the runnable example links for tracking

Martin Adámek0ef6bb1a33c5
diff --git a/website/src/components/RunnableCodeBlock.jsx b/website/src/components/RunnableCodeBlock.jsx
index 41d168be3..b351afd74 100644
--- a/website/src/components/RunnableCodeBlock.jsx
+++ b/website/src/components/RunnableCodeBlock.jsx
@@ -26,7 +26,7 @@ Make sure you are importing the code block contents with the roa-loader.`);
);
}
- const href = `https://console.apify.com/actors/${actor ?? EXAMPLE_RUNNERS[type ?? 'playwright']}?runConfig=${hash}`;
+ const href = `https://console.apify.com/actors/${actor ?? EXAMPLE_RUNNERS[type ?? 'playwright']}?runConfig=${hash}&asrc=run_on_apify`;
return (
<div className={clsx(styles.container, 'runnable-code-block')}>