Skip to content

How to scrape a web page using Node.js and Puppeteer then emailing the results using NodeMailer.

Notifications You must be signed in to change notification settings

sonicsleuth/nodejs-webpage-scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

nodejs-webpage-scrapper

How to scrape a web page using Node.js and Puppeteer then emailing the results using Nodemailer.

Prerequisites

What will this script teach you?

  • Targeting information on a web page that you would like to collect into a new dataset.
  • Using the awesome Puppeteer package to evaluate the page content.
  • Using the NodeMailer package which requires no other dependancies.

Limitations of this script:

  • We are using the popular job board Indeed.com for our data sample.
  • We are only collecting data from the first page of results.

Adoptable used for this script:

  • Stock Market Quotes
  • Weather Reports
  • Amazon.com Price Comparisons
  • Ebay Auction Status

Example of the results delivered to your email inbox:

Job Post Results for: https://www.indeed.com/jobs?q=web%20developer&l=Rhode%20Island&sort=date

Title: Fullstack developer
Company: Some Super Company
Location: Woonsocket, RI
Link: https://www.indeed.com/rc/clk?jk=00000001

Title: Senior Web Developer
Company: New Startup Company
Location: North Kingstown, RI
Link: https://www.indeed.com/rc/clk?jk=00000001

About

How to scrape a web page using Node.js and Puppeteer then emailing the results using NodeMailer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published