async init() {
    const page = await got('https://www.mtu.edu/webcams/');
    const $ = cheerio.load(page.body);

    const cams = $('img[src*="webcams"]');

    const self = this;

    cams.each(function () {
      const cam = $(this);

      const name = cam.closest('.full-column').find('h3').text().trim();

      const camera = {
        description: cam.attr('alt'),
        imageURL: cam.attr('src'),
        ffmpegPath: this.ffmpegPath,
        name
      };

      self.cameras.push(new Camera(camera));
    });

    return this.cameras;
  }
/**
   * Scrape Michigan Tech's website to
   * retrieve all published webcams.
   * @returns {Array<Camera>} discovered cameras
   */
Scrape Michigan Tech's website to
retrieve all published webcams.
@returns {Array} discovered cameras
Scrape Michigan Tech ' s website to retrieve all published webcams . @returns { Array } discovered cameras
async init() {
    const page = await got('https://www.mtu.edu/webcams/');
    const $ = cheerio.load(page.body);
    const cams = $('img[src*="webcams"]');
    const self = this;
    cams.each(function () {
      const cam = $(this);
      const name = cam.closest('.full-column').find('h3').text().trim();
      const camera = {
        description: cam.attr('alt'),
        imageURL: cam.attr('src'),
        ffmpegPath: this.ffmpegPath,
        name
      };
      self.cameras.push(new Camera(camera));
    });
    return this.cameras;
  }
async init ( ) { const page = await got ( 'https://www.mtu.edu/webcams/' ) ; const $ = cheerio . load ( page . body ) ; const cams = $ ( 'img[src*="webcams"]' ) ; const self = this ; cams . each ( function ( ) { const cam = $ ( this ) ; const name = cam . closest ( '.full-column' ) . find ( 'h3' ) . text ( ) . trim ( ) ; const camera = { description : cam . attr ( 'alt' ) , imageURL : cam . attr ( 'src' ) , ffmpegPath : this . ffmpegPath , name } ; self . cameras . push ( new Camera ( camera ) ) ; } ) ; return this . cameras ; }
Scrape Michigan Tech's website to
 retrieve all published webcams.
Scrape Michigan Tech ' s website to retrieve all published webcams .