Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run "Usage"? #84

Closed
littabird opened this issue Nov 24, 2023 · 1 comment
Closed

How to run "Usage"? #84

littabird opened this issue Nov 24, 2023 · 1 comment

Comments

@littabird
Copy link

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?

@aivus
Copy link
Member

aivus commented Nov 25, 2023

Hello @littabird 👋

This nodejs module doesn't work from CLI out of the box.

@aivus aivus closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants