Skip to content

A web scraper for jw.org that fetches the last article posted and sends an email with the article's title and link

Notifications You must be signed in to change notification settings

andreimuntean1/jw-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JW Scraper

A web scraper for jw.org that fetches the last article posted and sends an email with the article's title and link

Run Locally

Clone the project

  git clone https://github.com/andreimuntean1/jw-scraper.git

Go to the project directory

  cd jw-scraper

Install dependencies

  npm install

Create a .env file and add the following environment variables

API_KEY, AUTH_DOMAIN, PROJECT_ID, STORAGE_BUCKET, MESSAGING_SENDER_ID, APP_ID , as Firebase credentials

EMAIL and PASSWORD , as Nodemailer email credentials

RECIPIENTS , separated by commas

e.g. [email protected],[email protected],[email protected]

Start the server

  npm start

About

A web scraper for jw.org that fetches the last article posted and sends an email with the article's title and link

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published