CA
foreign-sapphire

Puppeteer url input

I created a new actor with the Puppeteer template and wanted to try it out. I add a URL under the input tab but the scraper seems to just scrape Apify and nothing else. Is it because of this line in const startUrls = ['https://apify.com']; in main.js?
2 Replies
HonzaS
HonzaS3y ago
yes, instead try something like
const { startUrls } = await Actor.getInput();
const { startUrls } = await Actor.getInput();
foreign-sapphire
foreign-sapphireOP3y ago
thank you!

Did you find this page helpful?