Socket
Socket
Sign inDemoInstall

@jmshtr/scrape

Package Overview
Dependencies
6
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @jmshtr/scrape

A website scraper for raw text


Version published
Maintainers
1
Created

Readme

Source

scrape

This is a simple Node.js script that fetches the HTML content of a specified website using the node-fetch module.

Installation

  1. Make sure you have Node.js installed on your system.
  2. Clone this repository or download the scrape.js file.
  3. Install dependencies by running npm install in the project directory.

Usage

To use the script, run the following command in your terminal:

node scrape.js <url>

Replace <url> with the URL of the website you want to scrape. For example:

node scrape.js https://www.example.com

The script will fetch the HTML content of the specified website and print it to the console.

Dependencies

  • node-fetch: For making HTTP requests in Node.js.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Keywords

FAQs

Last updated on 20 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc