Closed littabird closed 10 months ago
I have install 'website-scraper' & 'website-scraper-puppeteer'. But Command Prompt couldn't run the "Usage" as below:-
========
import scrape from 'website-scraper'; import PuppeteerPlugin from 'website-scraper-puppeteer';
await scrape({ urls: ['https://www.instagram.com/gopro/'], directory: '/path/to/save', plugins: [ new PuppeteerPlugin({ launchOptions: { headless: "new" }, / optional / gotoOptions: { waitUntil: "networkidle0" }, / optional / scrollToBottom: { timeout: 10000, viewportN: 10 }, / optional / blockNavigation: true, / optional / }) ] });
How do I run this thing?
Hello @littabird 👋
This nodejs module doesn't work from CLI out of the box.
I have install 'website-scraper' & 'website-scraper-puppeteer'. But Command Prompt couldn't run the "Usage" as below:-
========
import scrape from 'website-scraper'; import PuppeteerPlugin from 'website-scraper-puppeteer';
await scrape({ urls: ['https://www.instagram.com/gopro/'], directory: '/path/to/save', plugins: [ new PuppeteerPlugin({ launchOptions: { headless: "new" }, / optional / gotoOptions: { waitUntil: "networkidle0" }, / optional / scrollToBottom: { timeout: 10000, viewportN: 10 }, / optional / blockNavigation: true, / optional / }) ] });
How do I run this thing?