lib/scraper.js
function _getLinks (window, links) {
  var $ = window.$;

  $('a.lede__link').each(function(){
    var text = $(this).text().trim();
    if (!text) return;
    links.push(text);
  });
}
function _getLinks (window, links) {
  var $ = window.$;

  $('a.lede__link').each(function(){
    var text = $(this).text().trim();
    if (!text) return;
    links.push(text);
  });
}
function _getLinks ( window , links ) { var $ = window . $ ; $ ( 'a.lede__link' ) . each ( function ( ) { var text = $ ( this ) . text ( ) . trim ( ) ; if ( ! text ) return ; links . push ( text ) ; } ) ; }
Get article links from the page

@param {Object} window - jsdom `window` object
@param {Array} links - array of headline links
@api private
Get article links from the page