How to use the scrape-it function in scrape-it

To help you get started, we’ve selected a few scrape-it examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github saasify-sh / scrape-it / scrape.ts View on Github external
export default async function scrape(
  url: string,
  opts: object
): Promise {
  const { data } = await scrapeIt(url, opts as ScrapeOptions)

  return data
}

scrape-it

A Node.js scraper for humans.

MIT
Latest version published 2 days ago

Package Health Score

80 / 100
Full package analysis

Popular scrape-it functions