Skip to content

A weekly script to scrape Weehawken-related clippings (legislation, etc.) from the paper of record in Hudson County

Notifications You must be signed in to change notification settings

patrickcbrady/jerseyJournalScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jerseyJournalScraper

A weekly script to scrape Weehawken-related clippings (legislation, etc.) from the paper of record in Hudson County

This app requires three plaintext files in the root directory to be filled out to be fully functional.

  • deviceu
    • the username of a gmail account to be used to send emails
  • devicepw
  • subscribers
    • a comma-separated list of email addresses to send the ad summaries to

How to Run

Once the three files are in place, run python3 scraper.py in the root directory to generate the scraped ads. Then, run python3 send_unsent.py to send a summary email for each unsent file. If anything goes wrong in send_unsent, the file will remain in the unsent directory. Requires Python 3.7 or later.

About

A weekly script to scrape Weehawken-related clippings (legislation, etc.) from the paper of record in Hudson County

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages