


The fs module will allow you to write data fetched from the website into a. Inside the index.js file, we need to require puppeteer and the fs (file system) module. This is where we will be writing our code to download images from the Bannerbear page. puppeteer-extra is a drop-in replacement for puppeteer, // it augments the installed puppeteer with plugin functionality const puppeteer = require ( 'puppeteer-extra' ) // Add adblocker plugin, which will transparently block ads in all pages you // create using puppeteer. In the same project, create index.js file.
