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.

Merge pull request #332 from apifytech/feature/remove_www

Marek Trunkátf099b0a04cc1
diff --cc docs/guides/getting_started.md
index c6140ac8a,d9f09dce1..42db7ca8b
--- a/docs/guides/getting_started.md
+++ b/docs/guides/getting_started.md
@@@ -1185,10 -1185,10 +1185,10 @@@ Once we have that, we can load it in th
```js
// ...
-const input = await Apify.getValue('INPUT');
+const input = await Apify.getInput();
const sources = input.map(category => ({
- url: `https://www.apify.com/library?type=acts&category=${category}`,
+ url: `https://apify.com/library?type=acts&category=${category}`,
userData: {
label: 'CATEGORY'
}
@@@ -1240,10 -1240,10 +1240,10 @@@ Apify.main(async () =>
async function getSources() {
log.debug('Getting sources.');
- const input = await Apify.getValue('INPUT');
+ const input = await Apify.getInput();
return input.map(category => ({
- url: `https://www.apify.com/library?type=acts&category=${category}`,
+ url: `https://apify.com/library?type=acts&category=${category}`,
userData: {
label: 'CATEGORY'
}