Skip to content

got99errors/PuppeteerExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PuppeteerExample

This project is for the purpose of trying out Puppeteer to scrape and display videos.

  1. Using node-cron to schedule a daily scrape job.
  2. Scraping posts with Puppeteer.
  3. Storing posts in a JSON file.
  4. Display posts using a pug template.

How to Run

After you clone the project, run: npm install

And then: npm run dev

In the browser: http://localhost:3000/

To Do

  1. Reload page when JSON file changes
  2. Add CSS