Skip to content

Mister-ecks/Web-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-Scraper

A web scraper for extracting information from web pages easily, the code contains the url to https://www.punchng.com

Getting started

To get started, simply run npm install in order to install the necessary packages to your local machine and generate a package.json file

How to use

In order to use this web scraper, get the website url, and then target the information you are looking for in your developer tools, e.g the link, image or text you want. target using cheerio.load and then save it's value to a variable, after wards create an array that you would push the items of the scrape into and then run the code

node index.js > result.txt to save the extracted data to a text file.😁

About

A web scraper for extracting information from web pages easily

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published